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