()
| 48 | let _logDirPath = ""; |
| 49 | |
| 50 | function getTodayDateStr(): string { |
| 51 | return new Date().toISOString().slice(0, 10); // "2026-05-08" |
| 52 | } |
| 53 | |
| 54 | async function ensureLogDir(): Promise<string> { |
| 55 | if (_logDirReady) return _logDirPath; |
no test coverage detected