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

Use printAndExit with error (#4086)

This commit is contained in:
Tim Neutkens 2018-03-31 00:00:41 +02:00 committed by GitHub
parent 9711f74db7
commit 812db745f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,5 @@ if (!existsSync(join(dir, 'pages'))) {
build(dir)
.catch((err) => {
console.error(err)
process.exit(1)
printAndExit(err)
})