mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fix: remove unnecessary spaces in message when running non-fake migrations (#10809)
This commit is contained in:
parent
bcaa0bf071
commit
c3bebdcb4e
@ -359,8 +359,8 @@ export class MigrationExecutor {
|
||||
successMigrations.push(migration)
|
||||
this.connection.logger.logSchemaBuild(
|
||||
`Migration ${migration.name} has been ${
|
||||
this.fake ? "(fake)" : ""
|
||||
} executed successfully.`,
|
||||
this.fake ? "(fake) " : ""
|
||||
}executed successfully.`,
|
||||
)
|
||||
})
|
||||
}
|
||||
@ -464,8 +464,8 @@ export class MigrationExecutor {
|
||||
await this.deleteExecutedMigration(queryRunner, migrationToRevert)
|
||||
this.connection.logger.logSchemaBuild(
|
||||
`Migration ${migrationToRevert.name} has been ${
|
||||
this.fake ? "(fake)" : ""
|
||||
} reverted successfully.`,
|
||||
this.fake ? "(fake) " : ""
|
||||
}reverted successfully.`,
|
||||
)
|
||||
|
||||
// commit transaction if we started it
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user