0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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