mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
refactor: fail exit when building fixtures failed
This commit is contained in:
parent
eace48fb8c
commit
e801340107
@ -58,5 +58,8 @@ new Listr([{
|
||||
task: () => new Listr(tasks, {concurrent: options.concurrent})
|
||||
}], options)
|
||||
.run()
|
||||
.catch(console.error) // eslint-disable-line no-console
|
||||
.then(() => process.exit(0))
|
||||
.catch((err) => {
|
||||
console.error(err) // eslint-disable-line no-console
|
||||
process.exit(1)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user