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)
})