diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-09-24 11:12:59 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-09-25 11:02:05 +0200 |
commit | 00472b1fe8b54630f2d3a86080337c46e256fecd (patch) | |
tree | efb19ca13ac976cc0af1adab398c96ca417f915f | |
parent | 2a3ddf479606a3595f424baecfc191cd72e0e3fc (diff) | |
download | bundler-00472b1fe8b54630f2d3a86080337c46e256fecd.tar.gz |
Spare a local variable
-rw-r--r-- | lib/bundler/cli/outdated.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb index 028bb3b05e..ba654baf37 100644 --- a/lib/bundler/cli/outdated.rb +++ b/lib/bundler/cli/outdated.rb @@ -109,8 +109,7 @@ module Bundler end if options_include_groups - ordered_groups = outdated_gems_by_groups.keys.compact.sort - ordered_groups.each do |groups| + outdated_gems_by_groups.keys.compact.sort.each do |groups| gems = outdated_gems_by_groups[groups] next if gems.nil? |