diff options
| author | Mike McQuaid | 2015-03-07 15:34:43 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-08 09:39:14 +0000 |
| commit | 2f4c02e106187f79c2e4dbc3197bfa27c1c2a07d (patch) | |
| tree | ef1e6066c14892c5bb67d72368f145fb52a11273 /Library/Homebrew/cmd/pull.rb | |
| parent | 57336ea68b13ec816c9403f03c437e3e503b2ca5 (diff) | |
| download | brew-2f4c02e106187f79c2e4dbc3197bfa27c1c2a07d.tar.bz2 | |
pull: rename variable to avoid shadowing.
Diffstat (limited to 'Library/Homebrew/cmd/pull.rb')
| -rw-r--r-- | Library/Homebrew/cmd/pull.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index c2009cdd7..4cfcb30a2 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -127,8 +127,8 @@ module Homebrew if ARGV.include? '--bump' odie 'Can only bump one changed formula' unless changed_formulae.length == 1 - f = changed_formulae.first - subject = "#{f.name} #{f.version}" + formula = changed_formulae.first + subject = "#{formula.name} #{formula.version}" ohai "New bump commit subject: #{subject}" system "/bin/echo -n #{subject} | pbcopy" message = "#{subject}\n\n#{message}" |
