bajo 0.2.24 → 0.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ function fatal (...args) {
7
7
  const [msg, ...params] = args
8
8
  const err = error(msg, ...params)
9
9
  console.error(err)
10
- process.exit(1)
10
+ process.kill(process.pid, 'SIGINT')
11
11
  }
12
12
 
13
13
  export default fatal
package/boot/lib/print.js CHANGED
@@ -127,7 +127,7 @@ export class Print {
127
127
  if (this.opts.isLog) return log.fatal(text, ...args)
128
128
  this.setText(text, ...args)
129
129
  this.ora.fail()
130
- process.exit(1)
130
+ process.kill(process.pid, 'SIGINT')
131
131
  }
132
132
  }
133
133
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo",
3
- "version": "0.2.24",
3
+ "version": "0.2.25",
4
4
  "description": "A framework to build a giant monstrous app rapidly",
5
5
  "main": "boot/index.js",
6
6
  "scripts": {