From aa072251fd1086aaad892386624319026672d7a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 20 Dec 2019 01:29:13 +0100 Subject: `cmd` is a String, we don't shelljoin that --- lib/bundler/gem_helper.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/bundler/gem_helper.rb b/lib/bundler/gem_helper.rb index df2214ce8a..c6b52711f0 100644 --- a/lib/bundler/gem_helper.rb +++ b/lib/bundler/gem_helper.rb @@ -132,7 +132,6 @@ module Bundler cmd = "git push #{options}" out, status = sh_with_status(cmd.shellsplit) return if status.success? - cmd = cmd.shelljoin if cmd.respond_to?(:shelljoin) raise "Couldn't git push. `#{cmd}' failed with the following output:\n\n#{out}\n" end -- cgit v1.2.1