[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:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user