Merge pull request #3388 from MikeMcQuaid/bump-formula-pr-env-filtering

bump-formula-pr: always use HOMEBREW_PATH.
This commit is contained in:
Mike McQuaid 2017-10-29 13:33:16 +00:00 committed by GitHub
commit 9dbff4ebbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,10 @@ module Homebrew
end end
def bump_formula_pr def bump_formula_pr
# As this command is simplifying user run commands then let's just use a
# user path, too.
ENV["PATH"] = ENV["HOMEBREW_PATH"]
formula = ARGV.formulae.first formula = ARGV.formulae.first
if formula if formula