From 2e6509498c1daf3335ac6343bf59441d42011b64 Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Thu, 15 Aug 2019 17:58:56 +0200 Subject: [bundler/bundler] Remove dead code https://github.com/bundler/bundler/commit/cae948f514 --- spec/bundler/support/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3