diff options
| author | Markus Reiter | 2016-11-14 16:50:24 +0100 |
|---|---|---|
| committer | GitHub | 2016-11-14 16:50:24 +0100 |
| commit | 3a01fbadcd14fb180635d6464f2c600a738d50b5 (patch) | |
| tree | e84414014d51503cf8dfa47e46ffec9fe26158ca /Library/Homebrew/dev-cmd | |
| parent | ee143482e4323be29a60ee2965835a54eac2ace8 (diff) | |
| parent | 6c1d42386df7994607f4b6096dd75323ff9bbb3a (diff) | |
| download | brew-3a01fbadcd14fb180635d6464f2c600a738d50b5.tar.bz2 | |
Merge pull request #1362 from reitermarkus/rubocop
Update RuboCop to 0.45.0.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
| -rw-r--r-- | Library/Homebrew/dev-cmd/boneyard-formula-pr.rb | 2 |
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 |
