Skip to content

Commit 5ada20e

Browse files
Merge pull request #171 from WildCodeSchool/170-server-seedts-issue-on-windows
170 server seedts issue on windows
2 parents 2a88fca + 6a1c2fa commit 5ada20e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/server/bin/seed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const seed = async () => {
2222

2323
for (const filePath of filePaths) {
2424
const { default: SeederClass } = await import(
25-
path.join(fixturesPath, filePath)
25+
`file://${path.join(fixturesPath, filePath)}`
2626
);
2727

2828
const seeder = new SeederClass() as AbstractSeeder;

0 commit comments

Comments
 (0)