cask/audit: fix audit error when homepage is missing
This commit is contained in:
parent
d3093cd260
commit
46736c5e81
@ -793,6 +793,9 @@ module Cask
|
||||
else
|
||||
host_uri.host
|
||||
end
|
||||
|
||||
return false if homepage.blank?
|
||||
|
||||
home = homepage.downcase
|
||||
if (split_host = host.split(".")).length >= 3
|
||||
host = split_host[-2..].join(".")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user