From ab8f2c82aea7e1e591d20159ee824ff4aff34b12 Mon Sep 17 00:00:00 2001 From: Julien Gautier Date: Sat, 9 May 2026 22:41:19 +0200 Subject: [PATCH] style(portal-bff): apply prettier to check-database-url.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cosmetic-only — collapses one over-cautious multi-line `throw new Error(...)` into a single line that fits within the project's 100-char `printWidth`. The reformat was produced by lint-staged DURING the amend that landed #70, but applied to the working tree only — the modification never made it back into the staged content of the amend, so the merged commit has the un-prettified version. Spotted because `pnpm exec prettier --check` fails locally; left unchecked, this would break the next PR's `check` job at `format:check`. No behavioural change. --- apps/portal-bff/src/config/check-database-url.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/portal-bff/src/config/check-database-url.ts b/apps/portal-bff/src/config/check-database-url.ts index 65a48f9..a359f6d 100644 --- a/apps/portal-bff/src/config/check-database-url.ts +++ b/apps/portal-bff/src/config/check-database-url.ts @@ -34,9 +34,7 @@ export function assertDatabaseUrl(): void { } if (parsed.protocol !== 'postgresql:' && parsed.protocol !== 'postgres:') { - throw new Error( - `DATABASE_URL must use the "postgresql://" scheme; got "${parsed.protocol}".`, - ); + throw new Error(`DATABASE_URL must use the "postgresql://" scheme; got "${parsed.protocol}".`); } // Heuristic — multiple "@" before the path almost always means the