Skip to content

Commit

Permalink
Fix exit code for run-platform-coverage.js script
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcornelissen committed Nov 3, 2023
1 parent 600d719 commit 4e7b175
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/run-platform-coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ if (!testType) {
process.exit(1);
}

common.npm(["run", `coverage:${testType}:${platform}`]);
const cmd = common.npm(["run", `coverage:${testType}:${platform}`]);
cmd.on("close", (code) => process.exit(code));

0 comments on commit 4e7b175

Please sign in to comment.