mirror of
https://github.com/sern-handler/cli
synced 2026-06-06 01:16:53 +00:00
chore: update exitoverride
This commit is contained in:
2
.github/workflows/continuous-integration.yml
vendored
2
.github/workflows/continuous-integration.yml
vendored
@@ -35,4 +35,4 @@ jobs:
|
||||
run: npm link
|
||||
|
||||
- name: Test Sern
|
||||
run: sern help
|
||||
run: sern
|
||||
|
||||
@@ -9,7 +9,11 @@ import { version } from './utilities/version.js';
|
||||
import { plugins } from './commands/plugins.js';
|
||||
export const program = new Command();
|
||||
|
||||
program.name('sern').description(help()).version(version());
|
||||
program
|
||||
.name('sern')
|
||||
.description(help())
|
||||
.version(version())
|
||||
.exitOverride(() => process.exit(0));
|
||||
|
||||
program
|
||||
.command(init.name)
|
||||
|
||||
Reference in New Issue
Block a user