Skip to content

Commit

Permalink
test: Investigate issue on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrzesik committed Sep 28, 2022
1 parent 1e6e587 commit e23ab9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/pip.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,9 @@ async function installRequirements(targetFolder, pluginInstance) {

if (cmd === 'docker' && e.stderrBuffer) {
throw new pluginInstance.serverless.classes.Error(
`Running ${cmd} failed with: "${e.stderrBuffer.toString().trim()}"`,
`Running "${cmd} ${args.join(' ')}" failed with: "${e.stderrBuffer
.toString()
.trim()}"`,
'PYTHON_REQUIREMENTS_DOCKER_COMMAND_FAILED'
);
}
Expand Down
1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ test(
dockerImage: 'break the build to log the command',
},
});
console.log('STDOUT', stdout);
t.true(
stdout.includes(
`-v ${__dirname}${sep}tests${sep}base${sep}custom_ssh:/root/.ssh/custom_ssh:z`
Expand Down

0 comments on commit e23ab9e

Please sign in to comment.