Skip to content

Commit

Permalink
Fix skipping projects after first failure (microsoft#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandersn authored May 20, 2022
1 parent cd1b225 commit 4fb29d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ export async function mainAsync(params: GitParams | UserParams): Promise<GitResu
i++;
if (i > maxCount) break;
console.log(`Starting #${i} / ${maxCount}: ${repo.url ?? repo.name}`);
sawNewErrors = sawNewErrors || await innerloop(params, downloadDir, userTestDir, repo, oldTscPath, newTscPath, outputs)
if (await innerloop(params, downloadDir, userTestDir, repo, oldTscPath, newTscPath, outputs)) {
sawNewErrors = true;
}
}
const summary = outputs.join("")

Expand Down

0 comments on commit 4fb29d7

Please sign in to comment.