summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/cli/outdated.rb3
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?