()
| 208 | } |
| 209 | |
| 210 | export function getContinueRcPath(): string { |
| 211 | // Disable indexing of the config folder to prevent infinite loops |
| 212 | const continuercPath = path.join(getContinueGlobalPath(), ".continuerc.json"); |
| 213 | if (!fs.existsSync(continuercPath)) { |
| 214 | fs.writeFileSync( |
| 215 | continuercPath, |
| 216 | JSON.stringify( |
| 217 | { |
| 218 | disableIndexing: true, |
| 219 | }, |
| 220 | null, |
| 221 | 2, |
| 222 | ), |
| 223 | ); |
| 224 | } |
| 225 | return continuercPath; |
| 226 | } |
| 227 | |
| 228 | function getDevDataPath(): string { |
| 229 | const sPath = path.join(getContinueGlobalPath(), "dev_data"); |
no test coverage detected