bajo 0.2.23 → 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
@@ -19,7 +19,7 @@ class Log {
19
19
  this.scope = scope
20
20
  this.config = scope.bajo.config
21
21
  this.bajoLog = this.config.log.logger ?? 'bajoLogger'
22
- this.format = 'YYYY-MM-DDTHH:MM:ss.SSS[Z]'
22
+ this.format = 'YYYY-MM-DDTHH:mm:ss.SSS[Z]'
23
23
  }
24
24
 
25
25
  isExtLogger () {
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.23",
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": {