chore: update exitoverride

This commit is contained in:
EvolutionX
2022-06-22 11:24:49 +05:30
parent e3a7d1a28c
commit e86e3a7e67
2 changed files with 6 additions and 2 deletions

View File

@@ -35,4 +35,4 @@ jobs:
run: npm link run: npm link
- name: Test Sern - name: Test Sern
run: sern help run: sern

View File

@@ -9,7 +9,11 @@ import { version } from './utilities/version.js';
import { plugins } from './commands/plugins.js'; import { plugins } from './commands/plugins.js';
export const program = new Command(); export const program = new Command();
program.name('sern').description(help()).version(version()); program
.name('sern')
.description(help())
.version(version())
.exitOverride(() => process.exit(0));
program program
.command(init.name) .command(init.name)