From aba698b724d2e65e00d2dd5062b06ed7ce403543 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Tue, 30 Aug 2022 12:34:25 -0400 Subject: [PATCH] style: fix lint --- lib/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/connection.js b/lib/connection.js index 80b12f792f5..8cfe469ecfc 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -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) {