Skip to content

Commit 18cc578

Browse files
committed
fix: don't reject on execa
1 parent 5e2324f commit 18cc578

File tree

1 file changed

+1
-1
lines changed
  • packages/vitest/src/node

1 file changed

+1
-1
lines changed

packages/vitest/src/node/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async function start(cliFilters: string[], options: CliOptions) {
9595

9696
if (!process.env.NODE_V8_COVERAGE) {
9797
process.env.NODE_V8_COVERAGE = ctx.config.coverage.tempDirectory
98-
const { exitCode } = await execa(process.argv0, process.argv.slice(1), { stdio: 'inherit' })
98+
const { exitCode } = await execa(process.argv0, process.argv.slice(1), { stdio: 'inherit', reject: false })
9999
process.exit(exitCode)
100100
}
101101
}

0 commit comments

Comments
 (0)