style(portal-bff): apply prettier to check-database-url.ts #71
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user