[linguist-backend] no longer skip initial batch

Fixes #16370

Co-authored-by: Jason Nguyen <jsn.dev@outlook.com>
Co-authored-by: Thomas Camargo <camargothomas@gmail.com>

Signed-off-by: Jason Nguyen <jsn.dev@outlook.com>
Signed-off-by: Thomas Camargo <camargothomas@gmail.com>
Signed-off-by: Elizabeth Hobbs <elizabeth.hobbs94@gmail.com>
This commit is contained in:
Elizabeth Hobbs
2023-02-15 10:24:12 -08:00
parent 72d1919298
commit 2ea5782162
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 => {