fix(build): migrate smartconfig metadata and refresh build dependencies
This commit is contained in:
@@ -297,7 +297,7 @@ export class AggregateHandler implements ICommandHandler {
|
||||
const existingDocs = await storage.findAll(targetDb, targetColl);
|
||||
const onFields = Array.isArray(on) ? on : [on];
|
||||
|
||||
let matchingDoc = null;
|
||||
let matchingDoc: plugins.bson.Document | null = null;
|
||||
for (const existing of existingDocs) {
|
||||
let matches = true;
|
||||
for (const field of onFields) {
|
||||
|
||||
Reference in New Issue
Block a user