Fix bump-formula-pr on a file with no tap

fixes #6821
This commit is contained in:
Fred Emmott 2019-12-06 11:10:01 -08:00
parent 2b34c1055f
commit 3339d5af32
No known key found for this signature in database
GPG Key ID: 06C22A9D789FCA28

View File

@ -101,7 +101,7 @@ module Homebrew
end
end
end
[formula.tap.full_name, "origin/master", "-"]
[formula.tap ? formula.tap.full_name : nil, "origin/master", "-"]
end
def bump_formula_pr