Skip to content

Commit 649a6fc

Browse files
committed
fixup: missed a function renaming
1 parent 3ba2471 commit 649a6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schema-analyzer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ export class SchemaAnalyzer {
601601
* Note: This mutates the `schema` argument.
602602
*/
603603
const addToField = async(fieldName: string, path: string[], value: BSONValue, schema: SchemaAnalysisFieldsMap) => {
604-
await this.allowAbort();
604+
await this.allowAbortDuringAnalysis();
605605
if (!schema[fieldName]) {
606606
schema[fieldName] = {
607607
name: fieldName,

0 commit comments

Comments
 (0)