From 901a257533d3bc2139770817def14e1f6017be2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 17 Nov 2021 12:01:55 +0100 Subject: [rubygems/rubygems] Reformat for consistency with the above line https://github.com/rubygems/rubygems/commit/11193be3f1 --- lib/bundler/definition.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 97e795a9b9..24d877a8fa 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -396,9 +396,7 @@ module Bundler end added.concat new_deps.map {|d| "* #{pretty_dep(d)}" } if new_deps.any? - if deleted_deps.any? - deleted.concat deleted_deps.map {|d| "* #{pretty_dep(d)}" } - end + deleted.concat deleted_deps.map {|d| "* #{pretty_dep(d)}" } if deleted_deps.any? both_sources = Hash.new {|h, k| h[k] = [] } @dependencies.each {|d| both_sources[d.name][0] = d } -- cgit v1.2.3