diff options
author | bobzel <zzzman@gmail.com> | 2023-12-05 15:48:15 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-12-05 15:48:15 -0500 |
commit | c229cb04343bd8cc1f0aed23e17128b4346be563 (patch) | |
tree | e58f21a5c7e3d48b93598584ba5228d5ee0f82c3 /src | |
parent | 23f789ab0bc9947f1bd23816183df2b5cc89b0e6 (diff) |
got rid of sharp and puppeteer
Diffstat (limited to 'src')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<any>, references: Set<Doc>, system: boolean | undefined) { - if (infield instanceof List<any>) { + if (!(infield instanceof Doc)) { infield.forEach(val => (val instanceof Doc || val instanceof List) && FindReferences(val, references, system)); return; } |