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'))) {
build(dir)
.catch((err) => {
console.error(err)
process.exit(1)
printAndExit(err)
})
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