Merge pull request #6822 from fredemmott/bug-6821

Fix `bump-formula-pr` on a file with no tap
This commit is contained in:
Mike McQuaid 2019-12-07 11:42:13 +00:00 committed by GitHub
commit 6543f514ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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