(file: string, data: any)
| 76 | } |
| 77 | |
| 78 | function writeJson(file: string, data: any): void { |
| 79 | fs.mkdirSync(path.dirname(file), { recursive: true }); |
| 80 | fs.writeFileSync(file, JSON.stringify(data, null, 2) + "\n", "utf8"); |
| 81 | } |
| 82 | |
| 83 | const isCursor = (s: HookSource) => s.startsWith("cursor"); |
| 84 |
no outgoing calls
no test coverage detected