routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
'use strict'
|
||||
|
||||
const appendResult = require('./lib/util').appendResult
|
||||
|
||||
appendResult(process.argv[2])
|
||||
setTimeout(() => {
|
||||
appendResult(process.argv[2])
|
||||
process.exit(0)
|
||||
}, 3000)
|
||||
|
||||
// SIGINT/SIGTERM Handling.
|
||||
process.on('SIGINT', () => {
|
||||
process.exit(0)
|
||||
})
|
||||
process.on('SIGTERM', () => {
|
||||
process.exit(0)
|
||||
})
|
||||
Reference in New Issue
Block a user