update
This commit is contained in:
@@ -104,8 +104,9 @@ app.route({
|
||||
}
|
||||
}
|
||||
}).define(async (ctx) => {
|
||||
const needExit = ctx.args.needExit ?? true;
|
||||
const exit = (code: number) => {
|
||||
if (ctx.args.needExit) {
|
||||
if (needExit) {
|
||||
process.exit(code);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user