Skip to content

Commit 559836d

Browse files
Fixes type issue
1 parent 612b9fb commit 559836d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export function getModels(
189189

190190
return arg.reduce((models: any[], dir) => {
191191

192-
if (!glob.hasMagic(dir) && !hasSupportedExtension(dir)) dir = path.join(dir, '/*');
192+
if (!glob.hasMagic(dir) && !hasSupportedExtension(dir)) dir = path.join(dir as string, '/*');
193193
const _models = glob
194194
.sync(dir as string)
195195
.filter(isImportable)

0 commit comments

Comments
 (0)