()
| 104 | } |
| 105 | |
| 106 | export function getSessionsListPath(): string { |
| 107 | const filepath = path.join(getSessionsFolderPath(), "sessions.json"); |
| 108 | if (!fs.existsSync(filepath)) { |
| 109 | fs.writeFileSync(filepath, JSON.stringify([])); |
| 110 | } |
| 111 | return filepath; |
| 112 | } |
| 113 | |
| 114 | export function getConfigJsonPath(): string { |
| 115 | const p = path.join(getContinueGlobalPath(), "config.json"); |
no test coverage detected