mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(cloudcmd) add unhandledRejection listener
This commit is contained in:
parent
aacf36babd
commit
17629f1f15
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ const choose = (a, b) => {
|
|||
return a;
|
||||
};
|
||||
|
||||
process.on('unhandledRejection', exit);
|
||||
|
||||
const argv = process.argv;
|
||||
const args = require('minimist')(argv.slice(2), {
|
||||
string: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue