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 1e3fe7d commit 91d66d2Copy full SHA for 91d66d2
src/core/gel/seeds.run.ts
@@ -100,7 +100,9 @@ class SeedCommand extends Command {
100
const query = await fs.readFile(file, 'utf-8');
101
await runAndPrint(query);
102
} else {
103
- const script = await import('../../../' + file);
+ const script = await import(
104
+ '../../../' + file.replace('.ts', '.js')
105
+ );
106
const queries = await (script.default as SeedFn)(params);
107
if (!queries) {
108
return;
0 commit comments