summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 17:33:27 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:59 +0900
commitc4a2a9a38165e6a4b54798d5d8edb6297275efaa (patch)
tree91b9e106adf54504f326ae1711b9bb6992657a4a /spec
parent322d4fe98dd5db50ed4088dc9966dfc8813d6672 (diff)
[bundler/bundler] Remove now unused logic
https://github.com/bundler/bundler/commit/5b285685a4
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/support/helpers.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb
index 922555ff60..2445b566aa 100644
--- a/spec/bundler/support/helpers.rb
+++ b/spec/bundler/support/helpers.rb
@@ -158,7 +158,6 @@ module Spec
def forgotten_command_line_options(options)
remembered = Bundler::VERSION.split(".", 2).first == "2"
options = options.map do |k, v|
- k = Array(k)[remembered ? 0 : -1]
v = '""' if v && v.to_s.empty?
[k, v]
end