Skip to content

Commit 7146385

Browse files
committed
Avoids caching partial contributor results
1 parent c16bcf2 commit 7146385

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/env/node/git/sub-providers/contributors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ export class ContributorsGitSubProvider implements GitContributorsSubProvider {
9393
);
9494

9595
for await (const c of parser.parseAsync(stream)) {
96-
if (signal?.aborted) {
97-
// cancellable?.cancel();
96+
if (signal?.aborted || cancellation?.isCancellationRequested) {
97+
cancellable?.cancel();
9898
break;
9999
}
100100

0 commit comments

Comments
 (0)