From 07153227e93f603a3233c097b4d9515c90467b41 Mon Sep 17 00:00:00 2001 From: Maxime 'biximilien' Gauthier Date: Wed, 19 Jan 2022 15:55:04 -0500 Subject: [PATCH] fix: PoC fix for sls deploy exited with code 1 This patch solves the issue with sls deploy running dockerizedPip will raise an error "Exited with code 1". --- lib/pip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pip.js b/lib/pip.js index 7a0a0ceb..2cb9ac43 100644 --- a/lib/pip.js +++ b/lib/pip.js @@ -41,7 +41,7 @@ function mergeCommands(commands) { } else { // Quote the arguments in each command and join them all using &&. const script = cmds.map(quote).join(' && '); - return ['/bin/sh', '-c', script]; + return ['/bin/sh', '-c', '"' + script + '"']; } }