aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMarkus Reiter2016-11-13 23:36:04 +0100
committerMarkus Reiter2016-11-13 23:36:04 +0100
commitc648518f35611b16dfdd1355b2c8498d7f6d54d7 (patch)
tree73551a61cef35d3e1bdb5b8f33325c15ce3d212b /Library/Homebrew/dev-cmd
parente9391481a8fa6037e9fe70a3050a5a2226e3954e (diff)
downloadbrew-c648518f35611b16dfdd1355b2c8498d7f6d54d7.tar.bz2
Rename single line block parameters to `acc/elem`.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/boneyard-formula-pr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/boneyard-formula-pr.rb b/Library/Homebrew/dev-cmd/boneyard-formula-pr.rb
index 487f0c9db..3d95f14b9 100644
--- a/Library/Homebrew/dev-cmd/boneyard-formula-pr.rb
+++ b/Library/Homebrew/dev-cmd/boneyard-formula-pr.rb
@@ -62,7 +62,7 @@ module Homebrew
end
tap_migrations = Utils::JSON.load(File.read(tap_migrations_path))
tap_migrations[formula.name] = boneyard_tap.name
- tap_migrations = tap_migrations.sort.inject({}) { |a, e| a.merge!(e[0] => e[1]) }
+ tap_migrations = tap_migrations.sort.inject({}) { |acc, elem| acc.merge!(elem[0] => elem[1]) }
tap_migrations_path.atomic_write(JSON.pretty_generate(tap_migrations) + "\n")
end
unless which("hub") || local_only