Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73d0dd7 commit be60eb5Copy full SHA for be60eb5
lib/utils/resolveModel.js
@@ -54,7 +54,7 @@ function requireUsingModelPaths(modelRef, modelPaths) {
54
function requireModel(modelPath) {
55
const Model = getModel();
56
57
- let mod = require(path.resolve(modelPath));
+ let mod = require(`${path.resolve(modelPath)}`);
58
let modelClass = null;
59
60
if (isSubclassOf(mod, Model)) {
0 commit comments