Skip to content

Commit

Permalink
Merge pull request #134 from leapfrogtechnology/quick-fix
Browse files Browse the repository at this point in the history
Remove redundant existDir check
  • Loading branch information
samirsilwal authored Sep 10, 2021
2 parents d3be070 + 85cd9a6 commit 566c194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function synchronize(
const { knexMigrationConfig } = await init.prepare(config, {
migrationPath,
loadSqlSources: true,
loadMigrations: !params['skip-migration'] || dirExist
loadMigrations: !params['skip-migration']
});

const connections = filterConnectionsAsRequired(mapToConnectionReferences(conn), params.only);
Expand Down

0 comments on commit 566c194

Please sign in to comment.