style(portal-bff): apply prettier to check-database-url.ts #71

Merged
julien merged 1 commits from fix/portal-bff/prettier-check-database-url into main 2026-05-09 22:45:12 +02:00
@@ -34,9 +34,7 @@ export function assertDatabaseUrl(): void {
} }
if (parsed.protocol !== 'postgresql:' && parsed.protocol !== 'postgres:') { if (parsed.protocol !== 'postgresql:' && parsed.protocol !== 'postgres:') {
throw new Error( throw new Error(`DATABASE_URL must use the "postgresql://" scheme; got "${parsed.protocol}".`);
`DATABASE_URL must use the "postgresql://" scheme; got "${parsed.protocol}".`,
);
} }
// Heuristic — multiple "@" before the path almost always means the // Heuristic — multiple "@" before the path almost always means the