fix(nuxi): pass through exit code from test errors (#18959)

This commit is contained in:
Alex 2023-02-16 13:55:12 +01:00 committed by GitHub
parent 61cd6b5c71
commit 4b2901bee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ export function main () {
if (result === 'error') {
process.exit(1)
} else if (result !== 'wait') {
process.exit(0)
process.exit()
}
})
.catch((error) => {