ruby-changes:70038
From: David <ko1@a...>
Date: Fri, 3 Dec 2021 20:01:10 +0900 (JST)
Subject: [ruby-changes:70038] 901a257533 (master): [rubygems/rubygems] Reformat for consistency with the above line
https://git.ruby-lang.org/ruby.git/commit/?id=901a257533 From 901a257533d3bc2139770817def14e1f6017be2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> 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(-) diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 97e795a9b9d..24d877a8fa5 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -396,9 +396,7 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/definition.rb#L396 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.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/