(filePath, content)
| 19 | } |
| 20 | |
| 21 | function write(filePath, content) { |
| 22 | fs.mkdirSync(path.dirname(filePath), { recursive: true }); |
| 23 | fs.writeFileSync(filePath, content); |
| 24 | } |
| 25 | |
| 26 | function appendJsonl(filePath, entries) { |
| 27 | write(filePath, entries.map((entry) => JSON.stringify(entry)).join('\n') + '\n'); |
no outgoing calls
no test coverage detected