Skip to content

Commit

Permalink
fix: reads use-glob from config file (#1282)
Browse files Browse the repository at this point in the history
  • Loading branch information
benkroeger authored Oct 9, 2024
1 parent 42d5297 commit e4bc0df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/node-pg-migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ function readJson(json: unknown): void {
Array.isArray(val) || (isString(val) && val.length > 0)
);
CREATE_SCHEMA = applyIf(CREATE_SCHEMA, createSchemaArg, json, isBoolean);
USE_GLOB = applyIf(USE_GLOB, useGlobArg, json, isBoolean);
MIGRATIONS_DIR = applyIf(MIGRATIONS_DIR, migrationsDirArg, json, isString);
MIGRATIONS_SCHEMA = applyIf(
MIGRATIONS_SCHEMA,
Expand Down

0 comments on commit e4bc0df

Please sign in to comment.