feature(cloudcmd) add unhandledRejection listener

This commit is contained in:
coderaiser 2018-10-12 12:13:49 +03:00
parent aacf36babd
commit 17629f1f15

View file

@ -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: [