diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index 1cf7286c53..4ab4146132 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"].nil? + @homepage = if @github["homepage"].blank? "https://github.com/#{@github["full_name"]}" else @github["homepage"]