There was an error while loading. Please reload this page.
1 parent 612b9fb commit 559836dCopy full SHA for 559836d
lib/services/models.ts
@@ -189,7 +189,7 @@ export function getModels(
189
190
return arg.reduce((models: any[], dir) => {
191
192
- if (!glob.hasMagic(dir) && !hasSupportedExtension(dir)) dir = path.join(dir, '/*');
+ if (!glob.hasMagic(dir) && !hasSupportedExtension(dir)) dir = path.join(dir as string, '/*');
193
const _models = glob
194
.sync(dir as string)
195
.filter(isImportable)
0 commit comments