summaryrefslogtreecommitdiff
path: root/spec/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-15 17:58:56 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-17 17:08:50 +0900
commit2e6509498c1daf3335ac6343bf59441d42011b64 (patch)
treeb8c2037e74242375808da3d884d8e5ad89de0739 /spec/bundler
parent3bebdda649e60edb9df0728aa1859590693db335 (diff)
[bundler/bundler] Remove dead code
https://github.com/bundler/bundler/commit/cae948f514
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/support/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb
index 69da1c5a2e..46d8eb52a2 100644
--- a/spec/bundler/support/helpers.rb
+++ b/spec/bundler/support/helpers.rb
@@ -201,7 +201,7 @@ module Spec
end
def gem_command(command, args = "", options = {})
- if command == :exec && !options[:no_quote]
+ if command == :exec
args = args.gsub(/(?=")/, "\\")
args = %("#{args}")
end