Skip to content

Commit 46cc114

Browse files
authored
fix: set bail defaults correctly (#1382)
1 parent aa032c7 commit 46cc114

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cmds/exec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default {
2828
bail: {
2929
type: 'boolean',
3030
describe: '',
31-
default: userConfig.build.bundle
31+
default: userConfig.exec.bail
3232
}
3333
})
3434
},

src/cmds/run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default {
2828
bail: {
2929
type: 'boolean',
3030
describe: '',
31-
default: userConfig.build.bundle
31+
default: userConfig.run.bail
3232
}
3333
})
3434
.positional('script', {

0 commit comments

Comments
 (0)