mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fix: add missing await (#10084)
This commit is contained in:
parent
d4607a8672
commit
f5d43975db
@ -733,7 +733,7 @@ export class MigrationExecutor {
|
||||
this.queryRunner || this.connection.createQueryRunner()
|
||||
|
||||
try {
|
||||
return callback(queryRunner)
|
||||
return await callback(queryRunner)
|
||||
} finally {
|
||||
if (!this.queryRunner) {
|
||||
await queryRunner.release()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user