1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Reformat for consistency with the above line

https://github.com/rubygems/rubygems/commit/11193be3f1
This commit is contained in:
David Rodríguez 2021-11-17 12:01:55 +01:00 committed by git
parent 906b95780f
commit 901a257533

View file

@ -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 }