Update plugins/catalog-backend/src/next/database/DefaultProcessingDatabase.ts

Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Johan Haals
2021-09-16 11:57:16 +02:00
committed by GitHub
parent de3db12c21
commit c54ea11bcd
@@ -526,7 +526,7 @@ export class DefaultProcessingDatabase implements ProcessingDatabase {
const { entityRef } = options;
const entityRefs = new Array<string>();
let currentRef = entityRef;
let currentRef = entityRef.toLocaleLowerCase('en-US');
let depth = 0;
for (;;) {
if (depth++ > MAX_ANCESTOR_DEPTH) {