chore: improve run-clang-tidy.ts behavior when filenames < jobs (#34736)
This commit is contained in:
parent
fa8e4a7610
commit
2b862c18ba
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ async function runClangTidy (
|
|||
const worker = async () => {
|
||||
let filenames = chunkedFilenames.shift();
|
||||
|
||||
while (filenames) {
|
||||
while (filenames?.length) {
|
||||
results.push(
|
||||
await spawnAsync(cmd, [...args, ...filenames], {}).then((result) => {
|
||||
console.log(result.stdout);
|
||||
|
|
Loading…
Reference in a new issue