Skip to content

Commit

Permalink
Merge pull request #171 from WildCodeSchool/170-server-seedts-issue-o…
Browse files Browse the repository at this point in the history
…n-windows

170 server seedts issue on windows
  • Loading branch information
Brian-boudrioux authored Jan 3, 2025
2 parents 2a88fca + 6a1c2fa commit 5ada20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/server/bin/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const seed = async () => {

for (const filePath of filePaths) {
const { default: SeederClass } = await import(
path.join(fixturesPath, filePath)
`file://${path.join(fixturesPath, filePath)}`
);

const seeder = new SeederClass() as AbstractSeeder;
Expand Down

0 comments on commit 5ada20e

Please sign in to comment.