()
| 340 | } |
| 341 | |
| 342 | export function getRemoteConfigsFolderPath(): string { |
| 343 | const dir = path.join(getContinueGlobalPath(), ".configs"); |
| 344 | if (!fs.existsSync(dir)) { |
| 345 | fs.mkdirSync(dir); |
| 346 | } |
| 347 | return dir; |
| 348 | } |
| 349 | |
| 350 | export function getPathToRemoteConfig(remoteConfigServerUrl: string): string { |
| 351 | let url: URL | undefined = undefined; |
no test coverage detected