(fileName: string, content: string)
| 237 | }); |
| 238 | |
| 239 | async function write(fileName: string, content: string): Promise<string> { |
| 240 | const filePath = join(workDir, fileName); |
| 241 | await writeFile(filePath, content.trimStart(), 'utf-8'); |
| 242 | return filePath; |
| 243 | } |
| 244 | |
| 245 | function fileName(filePath: string): string { |
| 246 | return filePath.slice(workDir.length + 1); |
no test coverage detected