Function
normalizeOptionalSessionId
(sessionId: string | undefined)
Source from the content-addressed store, hash-verified
| 217 | } |
| 218 | |
| 219 | function normalizeOptionalSessionId(sessionId: string | undefined): string | undefined { |
| 220 | const trimmed = sessionId?.trim(); |
| 221 | return trimmed === undefined || trimmed === '' ? undefined : trimmed; |
| 222 | } |
| 223 | |
| 224 | async function confirmPreviousSession(summary: PreviousSessionSummary): Promise<boolean> { |
| 225 | const rl = createInterface({ input: process.stdin, output: process.stderr }); |
Tested by
no test coverage detected