mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
fix(nuxi): pass through exit code from test errors (#18959)
This commit is contained in:
parent
61cd6b5c71
commit
4b2901bee1
@ -74,7 +74,7 @@ export function main () {
|
|||||||
if (result === 'error') {
|
if (result === 'error') {
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
} else if (result !== 'wait') {
|
} else if (result !== 'wait') {
|
||||||
process.exit(0)
|
process.exit()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user