pull: rename variable to avoid shadowing.
This commit is contained in:
parent
57336ea68b
commit
2f4c02e106
@ -127,8 +127,8 @@ module Homebrew
|
|||||||
|
|
||||||
if ARGV.include? '--bump'
|
if ARGV.include? '--bump'
|
||||||
odie 'Can only bump one changed formula' unless changed_formulae.length == 1
|
odie 'Can only bump one changed formula' unless changed_formulae.length == 1
|
||||||
f = changed_formulae.first
|
formula = changed_formulae.first
|
||||||
subject = "#{f.name} #{f.version}"
|
subject = "#{formula.name} #{formula.version}"
|
||||||
ohai "New bump commit subject: #{subject}"
|
ohai "New bump commit subject: #{subject}"
|
||||||
system "/bin/echo -n #{subject} | pbcopy"
|
system "/bin/echo -n #{subject} | pbcopy"
|
||||||
message = "#{subject}\n\n#{message}"
|
message = "#{subject}\n\n#{message}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user