diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index d8e2234a86..f027a51d13 100644 --- a/Library/Homebrew/formula_creator.rb +++ b/Library/Homebrew/formula_creator.rb @@ -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"]