Skip to content

Commit

Permalink
Remove redundant existDir check
Browse files Browse the repository at this point in the history
  • Loading branch information
samirsilwal committed Sep 10, 2021
1 parent d3be070 commit 85cd9a6
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 85cd9a6

Please sign in to comment.