Skip to content
Snippets Groups Projects
Commit 2f4c02e1 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

pull: rename variable to avoid shadowing.

parent 57336ea6
No related branches found
No related tags found
No related merge requests found
......@@ -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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment