Skip to content

Commit 37661bb

Browse files
JonnyWafflesdschep
authored andcommitted
Fixed bindPath so paths with white space will work. (#187)
1 parent d8b6ff0 commit 37661bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pip.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function installRequirements(
8989
// Prepare bind path depending on os platform
9090
const bindPath = getBindPath(servicePath);
9191

92-
cmdOptions = ['run', '--rm', '-v', `${bindPath}:/var/task:z`];
92+
cmdOptions = ['run', '--rm', '-v', `"${bindPath}:/var/task:z"`];
9393
if (options.dockerSsh) {
9494
// Mount necessary ssh files to work with private repos
9595
cmdOptions.push(

0 commit comments

Comments
 (0)