Skip to content

Commit 3964f33

Browse files
committed
test: Investigate issue on CI
1 parent 9c43bfd commit 3964f33

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

lib/pip.js

-7
Original file line numberDiff line numberDiff line change
@@ -413,13 +413,6 @@ async function installRequirements(targetFolder, pluginInstance) {
413413
);
414414
}
415415

416-
if (cmd === 'docker' && e.stderrBuffer) {
417-
throw new pluginInstance.serverless.classes.Error(
418-
`Running ${cmd} failed with: "${e.stderrBuffer.toString().trim()}"`,
419-
'PYTHON_REQUIREMENTS_DOCKER_COMMAND_FAILED'
420-
);
421-
}
422-
423416
if (log) {
424417
log.info(`Stdout: ${e.stdoutBuffer}`);
425418
log.info(`Stderr: ${e.stderrBuffer}`);

test.js

+1
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ test(
216216
dockerImage: 'break the build to log the command',
217217
},
218218
});
219+
console.log('STDOUT', stdout);
219220
t.true(
220221
stdout.includes(
221222
`-v ${__dirname}${sep}tests${sep}base${sep}custom_ssh:/root/.ssh/custom_ssh:z`

0 commit comments

Comments
 (0)