1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

It was process.exit

This commit is contained in:
Dan Zajdband 2016-10-25 16:01:36 +01:00
parent 14ef3fcfca
commit 0bae38ae16

View file

@ -31,10 +31,10 @@ clean(dir)
} else {
console.error('> Couldn\'t find a `pages` directory. Please create one under the project root')
}
exit(1)
process.exit(1)
}
})
.catch((err) => {
console.error(err)
exit(1)
process.exit(1)
})