Skip to content

Commit

Permalink
cask/audit: fix audit error when homepage is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Sep 17, 2022
1 parent d3093cd commit cea2166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ def bad_osdn_url?

# sig { returns(String) }
def homepage
URI(cask.homepage.to_s).host
URI(cask.homepage.to_s).host.to_s
end

# sig { returns(String) }
Expand Down

0 comments on commit cea2166

Please sign in to comment.