Unverified Commit 812db745 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Use printAndExit with error (#4086)

parent 9711f74d
...@@ -44,6 +44,5 @@ if (!existsSync(join(dir, 'pages'))) { ...@@ -44,6 +44,5 @@ if (!existsSync(join(dir, 'pages'))) {
build(dir) build(dir)
.catch((err) => { .catch((err) => {
console.error(err) printAndExit(err)
process.exit(1)
}) })
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment