(filePath: string, filename: string, content: Buffer)
| 69 | } |
| 70 | |
| 71 | function writeFileResponse(filePath: string, filename: string, content: Buffer): string { |
| 72 | createOutputDirectoryIfNotExists(); |
| 73 | const fullPath = path.join(filePath, filename); |
| 74 | fs.writeFileSync(fullPath, content); |
| 75 | return fullPath; |
| 76 | } |
| 77 | |
| 78 | export { |
| 79 | removeAfterFirstSlash, |
no test coverage detected