diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-15 17:58:56 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-17 17:08:50 +0900 |
commit | 2e6509498c1daf3335ac6343bf59441d42011b64 (patch) | |
tree | b8c2037e74242375808da3d884d8e5ad89de0739 /spec/bundler/support/helpers.rb | |
parent | 3bebdda649e60edb9df0728aa1859590693db335 (diff) | |
download | ruby-2e6509498c1daf3335ac6343bf59441d42011b64.tar.gz |
[bundler/bundler] Remove dead code
https://github.com/bundler/bundler/commit/cae948f514
Diffstat (limited to 'spec/bundler/support/helpers.rb')
-rw-r--r-- | spec/bundler/support/helpers.rb | 2 |
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 |