bump-formula-pr: always use HOMEBREW_PATH.

Fixes this when using environment filtering.
This commit is contained in:
Mike McQuaid 2017-10-28 21:46:11 +01:00
parent 7caca57073
commit e88fd4a868

View File

@ -109,6 +109,10 @@ module Homebrew
end
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
if formula