Skip to content

Commit 9e4a083

Browse files
authoredMar 31, 2021
style: fix lint
1 parent f3cd3a8 commit 9e4a083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/model.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1658,7 +1658,7 @@ function _ensureIndexes(model, options, callback) {
16581658
indexOptions.background = options.background;
16591659
}
16601660
if (model.schema.options.hasOwnProperty('collation') &&
1661-
!indexOptions.hasOwnProperty('collation')
1661+
!indexOptions.hasOwnProperty('collation') &&
16621662
!isTextIndex) {
16631663
indexOptions.collation = model.schema.options.collation;
16641664
}

0 commit comments

Comments
 (0)
Please sign in to comment.