Merge pull request #19758 from backstage/renovate/knex-2.x-lockfile

fix(deps): update dependency knex to v2.5.1
This commit is contained in:
Fredrik Adelöw
2023-09-20 16:28:19 +02:00
committed by GitHub
2 changed files with 18 additions and 13 deletions
@@ -227,9 +227,7 @@ export class DatabaseManager {
* all supported databases excluding SQLite unless `pluginDivisionMode` is set
* to `schema`.
*/
private getConnectionConfig(
pluginId: string,
): Partial<Knex.StaticConnectionConfig> {
private getConnectionConfig(pluginId: string): Knex.StaticConnectionConfig {
const { client, overridden } = this.getClientType(pluginId);
let baseConnection = normalizeConnection(
@@ -271,7 +269,7 @@ export class DatabaseManager {
// include base connection if client type has not been overridden
...(overridden ? {} : baseConnection),
...connection,
} as Partial<Knex.StaticConnectionConfig>;
} as Knex.StaticConnectionConfig;
}
/**