From 61a0ad1985e4b333c75a0832d74dbaf344a0bb37 Mon Sep 17 00:00:00 2001 From: Jonathan Fuller Date: Sat, 5 May 2018 12:12:52 -0400 Subject: [PATCH] Fixed bindPath so paths with white space will work. --- lib/pip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pip.js b/lib/pip.js index fc8a08a6..9e724d07 100644 --- a/lib/pip.js +++ b/lib/pip.js @@ -89,7 +89,7 @@ function installRequirements( // Prepare bind path depending on os platform const bindPath = getBindPath(servicePath); - cmdOptions = ['run', '--rm', '-v', `${bindPath}:/var/task:z`]; + cmdOptions = ['run', '--rm', '-v', `"${bindPath}:/var/task:z"`]; if (options.dockerSsh) { // Mount necessary ssh files to work with private repos cmdOptions.push(