diff --git a/src/index.ts b/src/index.ts index 263dace..4b3c861 100644 --- a/src/index.ts +++ b/src/index.ts @@ -144,7 +144,7 @@ export class Migrator extends EventEmitter { const loadedMigrations: Migration[] = []; for (const file of migrationFiles) { - const fullPath = path.join(this.migrationsDir, file); + const fullPath = await fs.realpath(path.join(this.migrationsDir, file)); let imported: { up: Migration['up'];