Skip to content

Commit b474242

Browse files
committed
change url check
1 parent b3fb91e commit b474242

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/http_head_check.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def initialize(url, request_timeout = 5)
1010
# rubocop:enable Lint/MissingSuper
1111

1212
def check
13-
return skip_check if url.strip.empty?
13+
return skip_check if url.blank?
1414

1515
response = HttpClient.request(
1616
:head,

0 commit comments

Comments
 (0)