Skip to content

Commit

Permalink
chore: exit running related tests if there was no match (vercel#64772)
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Apr 19, 2024
1 parent a532e32 commit bef283e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ async function main() {
if (testPatternRegex) {
console.log('Running related tests:', testPatternRegex.toString())
} else {
console.log('No matching related tests.')
console.log('No matching related tests, exiting.')
process.exit(0)
}
}

Expand Down

0 comments on commit bef283e

Please sign in to comment.