()
| 2480 | ) |
| 2481 | |
| 2482 | const password = (): string | undefined => { |
| 2483 | if (resolvedPassword === undefined) { |
| 2484 | failAuth( |
| 2485 | new Error("The server requested password authentication"), |
| 2486 | "PgConnection: No password configured" |
| 2487 | ) |
| 2488 | return undefined |
| 2489 | } |
| 2490 | return resolvedPassword |
| 2491 | } |
| 2492 | |
| 2493 | const handleMessage = (message: PgProtocol.BackendMessage<unknown>): void => { |
| 2494 | switch (message._tag) { |
no test coverage detected