(p: string)
| 42 | } |
| 43 | |
| 44 | function readFile(p: string): string { |
| 45 | return fs.readFileSync(p, { encoding: "utf-8" }); |
| 46 | } |
| 47 | |
| 48 | function writeJson(data: any, p: string, indent: number|null = 4): void { |
| 49 | fs.writeFileSync(p, JSON.stringify(data, null, indent as any), { encoding: "utf-8" }); |
no outgoing calls
no test coverage detected