Skip to content

Commit

Permalink
Only read json files in meta folder
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Mario564 committed Jan 30, 2025
1 parent 7acbbfb commit c9002ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drizzle-kit/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export const prepareOutFolder = (out: string, dialect: Dialect) => {

const snapshots = readdirSync(meta)
.filter((it) => !it.startsWith('_'))
.filter((it) => it.endsWith('.json'))
.map((it) => join(meta, it));

snapshots.sort();
Expand Down

0 comments on commit c9002ec

Please sign in to comment.