From 74b7c8c655a7bd89fd6f051aa42ae70fc19dfc93 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Sun, 19 Dec 2021 16:36:53 +0900 Subject: [PATCH] chore: fix typo in model.js similarily -> similarly --- lib/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model.js b/lib/model.js index 17d6f041008..6cc48926386 100644 --- a/lib/model.js +++ b/lib/model.js @@ -797,7 +797,7 @@ function checkDivergentArray(doc, path, array) { // how to remove elements. $pop will pop off the _id from the end // of the array in the db which is not guaranteed to be the // same as the last element we have here. $set of the entire array - // would be similarily destructive as we never received all + // would be similarly destructive as we never received all // elements of the array and potentially would overwrite data. const check = pop.options.match || pop.options.options && utils.object.hasOwnProperty(pop.options.options, 'limit') || // 0 is not permitted