Don't fail if GitHub repo homepage is not present

This commit is contained in:
Marius Kleiner 2025-03-30 17:09:01 +02:00
parent 458c126929
commit 59b441e718

View File

@ -93,7 +93,7 @@ module Homebrew
if @github
@desc = @github["description"]
@homepage = if @github["homepage"].empty?
@homepage = if @github["homepage"].to_s.empty?
"https://github.com/#{@github["full_name"]}"
else
@github["homepage"]