bump-formula-pr: tweak fix syntax.

This commit is contained in:
Mike McQuaid 2019-12-07 11:27:27 +00:00 committed by GitHub
parent 3339d5af32
commit 40c6fbdccf
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 ? formula.tap.full_name : nil, "origin/master", "-"]
[formula.tap&.full_name, "origin/master", "-"]
end
def bump_formula_pr