Skip to content

Commit

Permalink
Fix passing option via config
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Sep 4, 2024
1 parent f91d921 commit 4ffb7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function parse(opts) {
$.isDriver(driver); // throws validation error(s)
}

const migrations = await $.glob(dir, opts.fileRegex);
const migrations = await $.glob(dir, opts.config.fileRegex);

return { driver, migrations };
}
Expand Down

0 comments on commit 4ffb7e6

Please sign in to comment.