()
| 383 | } |
| 384 | |
| 385 | export function getLogsDirPath(): string { |
| 386 | const logsPath = path.join(getContinueGlobalPath(), "logs"); |
| 387 | if (!fs.existsSync(logsPath)) { |
| 388 | fs.mkdirSync(logsPath); |
| 389 | } |
| 390 | return logsPath; |
| 391 | } |
| 392 | |
| 393 | export function getCoreLogsPath(): string { |
| 394 | return path.join(getLogsDirPath(), "core.log"); |
no test coverage detected