Merge pull request #16372 from elizabeth-a-hobbs/patch-1

[linguist-backend] no longer skip initial batch
This commit is contained in:
Fredrik Adelöw
2023-02-16 15:08:56 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-linguist-backend': patch
---
Fixed bug in LinguistBackendApi that caused initial batch of entities to be skipped.
@@ -114,6 +114,7 @@ export class LinguistBackendApi {
);
const entities = entitiesOverview.filteredEntities.slice(
0,
this.batchSize ?? 20,
);
entities.forEach(async entityRef => {