Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Aug 30, 2022
1 parent f858ca5 commit aba698b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ Connection.prototype.model = function(name, schema, collection, options) {
// do not cache the sub model
return sub;
}

if (arguments.length === 1) {
model = this.models[name];
if (!model) {
Expand Down

0 comments on commit aba698b

Please sign in to comment.