Update rubocop to v1.54.1 (#25627)

This commit is contained in:
Nick Schonning
2023-07-13 05:11:55 -04:00
committed by GitHub
parent e7b0d1e23c
commit 1a6c2e450a
5 changed files with 7 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
module DomainControlHelper
def domain_not_allowed?(uri_or_domain)
return if uri_or_domain.blank?
return false if uri_or_domain.blank?
domain = if uri_or_domain.include?('://')
Addressable::URI.parse(uri_or_domain).host