chore: exit running related tests if there was no match (#64772)

This commit is contained in:
Balázs Orbán 2024-04-19 12:19:26 +02:00 committed by GitHub
parent a532e32eca
commit bef283eb2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
}
}