mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 19:16:08 +00:00
style(db): format postgresTarget as Prettier does
This commit is contained in:
@@ -29,9 +29,7 @@ export function resolveEngine(db: DbEngineSettings = readEnv().db): DatabaseEngi
|
||||
* plugin data stores, which share the pool, and must not read them from the
|
||||
* environment again.
|
||||
*/
|
||||
export function postgresTarget(
|
||||
db: DbSettings,
|
||||
): { url: string; binDir: string | undefined; poolMax: number } | null {
|
||||
export function postgresTarget(db: DbSettings): { url: string; binDir: string | undefined; poolMax: number } | null {
|
||||
if (db.engine !== 'postgres') return null;
|
||||
return { url: db.url, binDir: db.pgBinDir, poolMax: db.poolMax };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user