(filePath: string)
| 80 | } |
| 81 | |
| 82 | function readJson(filePath: string): Record<string, unknown> | undefined { |
| 83 | try { |
| 84 | return JSON.parse(fs.readFileSync(filePath, "utf8")) |
| 85 | } catch { |
| 86 | return undefined |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | // --- Project-hook trust --------------------------------------------------- |
| 91 | // User-level hooks (~/.orbcode/settings.json) are written by the user and are |
no outgoing calls
no test coverage detected