Commit 38efb9f9 authored by Dan Zajdband's avatar Dan Zajdband

Using process.exit instead of exit

parent 0bae38ae
...@@ -16,5 +16,5 @@ const dir = resolve(argv._[0] || '.') ...@@ -16,5 +16,5 @@ const dir = resolve(argv._[0] || '.')
build(dir) build(dir)
.catch((err) => { .catch((err) => {
console.error(err) console.error(err)
exit(1) process.exit(1)
}) })
...@@ -34,7 +34,7 @@ exists(join(dir, 'package.json')) ...@@ -34,7 +34,7 @@ exists(join(dir, 'package.json'))
}) })
.catch((err) => { .catch((err) => {
console.error(err) console.error(err)
exit(1) process.exit(1)
}) })
const basePackage = `{ const basePackage = `{
......
...@@ -24,5 +24,5 @@ srv.start(argv.port) ...@@ -24,5 +24,5 @@ srv.start(argv.port)
}) })
.catch((err) => { .catch((err) => {
console.error(err) console.error(err)
exit(1) 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