Skip to content

Commit dbcb177

Browse files
committed
Pass --tags correctly, remove duplication
1 parent 8a0d5e8 commit dbcb177

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/cli/argv_parser.ts

+5
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ const ArgvParser = {
102102
parse(argv: string[]): IParsedArgv {
103103
const program = new Command(path.basename(argv[1]))
104104

105+
// We want to be in full control over when the process exits.
106+
// This is important for other tools using Cucumber as a library,
107+
// such as https://github.com/cucumber/cucumber-electron
108+
program.exitOverride()
109+
105110
program
106111
.storeOptionsAsProperties(false)
107112
.usage('[options] [<GLOB|DIR|FILE[:LINE]>...]')

0 commit comments

Comments
 (0)