summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-11-17 12:01:55 +0100
committergit <svn-admin@ruby-lang.org>2021-12-03 20:00:47 +0900
commit901a257533d3bc2139770817def14e1f6017be2f (patch)
tree581ce03f20bd0cb4fe2a97ac5a099921fae11fd5
parent906b95780fa7f9ff23a2d724d25fd4f69d494543 (diff)
[rubygems/rubygems] Reformat for consistency with the above line
https://github.com/rubygems/rubygems/commit/11193be3f1
-rw-r--r--lib/bundler/definition.rb4
1 files changed, 1 insertions, 3 deletions
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 }