Skip to content

Commit

Permalink
test: exit properly when node-spec-runner validates specs (#36102)
Browse files Browse the repository at this point in the history
test: exit properly when node spec runner validates specs

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
  • Loading branch information
trop[bot] and codebytere committed Oct 24, 2022
1 parent dc73409 commit 2b13ba9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/node-spec-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ async function main () {
console.error(`Found ${missing.length} missing disabled specs: \n${missing.join('\n')}`);
process.exit(1);
}

process.exit(0);
}

const options = args.default ? defaultOptions : getCustomOptions();
Expand Down

0 comments on commit 2b13ba9

Please sign in to comment.