(projectRoot: string)
| 533 | } |
| 534 | |
| 535 | async function resolveProjectConfigPath(projectRoot: string) { |
| 536 | const jsonc = path.join(projectRoot, ".arctic", "arctic.jsonc") |
| 537 | const json = path.join(projectRoot, ".arctic", "arctic.json") |
| 538 | if (await Bun.file(jsonc).exists()) return jsonc |
| 539 | if (await Bun.file(json).exists()) return json |
| 540 | return jsonc |
| 541 | } |
| 542 | |
| 543 | async function resolveGlobalConfigPath() { |
| 544 | const jsonc = path.join(Global.Path.config, "arctic.jsonc") |
no test coverage detected