From c229cb04343bd8cc1f0aed23e17128b4346be563 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 5 Dec 2023 15:48:15 -0500 Subject: got rid of sharp and puppeteer --- src/fields/Doc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 525ff7ec0..e60f7553f 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -816,7 +816,7 @@ export namespace Doc { } export function FindReferences(infield: Doc | List, references: Set, system: boolean | undefined) { - if (infield instanceof List) { + if (!(infield instanceof Doc)) { infield.forEach(val => (val instanceof Doc || val instanceof List) && FindReferences(val, references, system)); return; } -- cgit v1.2.3-70-g09d2