summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-12-20 01:29:13 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-12-20 01:29:13 +0100
commitaa072251fd1086aaad892386624319026672d7a0 (patch)
treeab9c10cc2dd40ccbf7e64afd865abf906fabc5f7
parenta05bdba30a0f34bfb0dddc9ec56f9b76157e0a6e (diff)
downloadbundler-dont_spawn_a_shell_when_git_pushing_on_release.tar.gz
`cmd` is a String, we don't shelljoin thatdont_spawn_a_shell_when_git_pushing_on_release
-rw-r--r--lib/bundler/gem_helper.rb1
1 files changed, 0 insertions, 1 deletions
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