Skip to content

Commit a42eee3

Browse files
PatrickBuTaxdoodschep
authored andcommitted
* fixed serverless#252 * better approach to fix serverless#252 * fixed undone merge
1 parent 2d13f13 commit a42eee3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/pip.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ function installRequirements(targetFolder, serverless, options) {
276276
function dockerPathForWin(options, path) {
277277
if (process.platform === 'win32' && options.dockerizePip) {
278278
return `"${path.replace(/\\/g, '/')}"`;
279+
} else if (process.platform === 'win32' && !options.dockerizePip) {
280+
return path;
279281
}
280282
return quote_single(path);
281283
}

0 commit comments

Comments
 (0)