Skip to content

Commit

Permalink
fix: don't reject on execa
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Feb 16, 2022
1 parent 5e2324f commit 18cc578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/cli.ts
Expand Up @@ -95,7 +95,7 @@ async function start(cliFilters: string[], options: CliOptions) {

if (!process.env.NODE_V8_COVERAGE) {
process.env.NODE_V8_COVERAGE = ctx.config.coverage.tempDirectory
const { exitCode } = await execa(process.argv0, process.argv.slice(1), { stdio: 'inherit' })
const { exitCode } = await execa(process.argv0, process.argv.slice(1), { stdio: 'inherit', reject: false })
process.exit(exitCode)
}
}
Expand Down

0 comments on commit 18cc578

Please sign in to comment.