Skip to content

Commit b5e9369

Browse files
authored
fix: ignore .d.ts files from migrations (#50)
1 parent 8ca6b11 commit b5e9369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/postgres/migrations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export async function runMigrations(
3939
dir,
4040
direction,
4141
count: Infinity,
42-
ignorePattern: '.*map',
42+
ignorePattern: '.*(\\.map|\\.d\\.ts)',
4343
databaseUrl:
4444
typeof args === 'string'
4545
? args

0 commit comments

Comments
 (0)