summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-24 15:11:35 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-25 11:02:06 +0200
commit68a7cee2c2c7907a4b7402551f73ecd65787c2d7 (patch)
tree5b901a27133863c0b97ae7efe893a0a20444d510
parent3d8c1e793de5131beeb199913646b0858739feeb (diff)
downloadbundler-68a7cee2c2c7907a4b7402551f73ecd65787c2d7.tar.gz
Remove unnecessary `next`
Groups are only added to this hash if they have gems.
-rw-r--r--lib/bundler/cli/outdated.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb
index eb7de745c1..dd890841bc 100644
--- a/lib/bundler/cli/outdated.rb
+++ b/lib/bundler/cli/outdated.rb
@@ -108,8 +108,6 @@ module Bundler
if options_include_groups
outdated_gems_by_groups.sort.each do |groups, gems|
- next if gems.nil?
-
contains_group = groups.split(", ").include?(options[:group])
next unless options[:groups] || contains_group