We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f58c7f7 commit 7daa22eCopy full SHA for 7daa22e
bin/cmds/docker_cmds/build.js
@@ -27,9 +27,8 @@ export const handler = async (argv) => {
27
await fs.writeFile(tmpDockerfile, dockerfile);
28
29
// try running compile before hand
30
- if (argv.pkg.scripts.compile && await $`npm run compile`) {
31
- console.log('Error: failed to run compile');
32
- process.exit(1);
+ if (argv.pkg.scripts.compile) { {
+ await $({ stdio: 'inherit' })`npm run compile`
33
}
34
35
const args = ['-t', mainTag, '-f', tmpDockerfile];
0 commit comments