Skip to content

Commit d893c1c

Browse files
author
bweigel
committed
fixed conditional, where branch would never be reached
- this was probably missed during merge of serverless#253
1 parent 8e32112 commit d893c1c

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
@@ -281,7 +281,7 @@ function installRequirements(targetFolder, serverless, options) {
281281
* @return {string}
282282
*/
283283
function dockerPathForWin(options, path) {
284-
if (process.platform === 'win32') {
284+
if (process.platform === 'win32' && options.dockerizePip) {
285285
return `"${path.replace(/\\/g, '/')}"`;
286286
} else if (process.platform === 'win32' && !options.dockerizePip) {
287287
return path;

0 commit comments

Comments
 (0)