Skip to content

Commit

Permalink
fix: await db.close() in runner (#1160)
Browse files Browse the repository at this point in the history
  • Loading branch information
remidewitte authored May 7, 2024
1 parent 56608a5 commit 7d6a8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export async function runner(options: RunnerOption): Promise<RunMigration[]> {
});
}

db.close();
await db.close();
}
}
}
Expand Down

0 comments on commit 7d6a8d7

Please sign in to comment.