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:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user