(inputFile: string, outputFile: string)
| 41 | } |
| 42 | |
| 43 | async function copyAsset(inputFile: string, outputFile: string): Promise<void> { |
| 44 | await fs.mkdir(path.dirname(outputFile), { recursive: true }); |
| 45 | await fs.copyFile(inputFile, outputFile); |
| 46 | logAction("copied", inputFile, outputFile); |
| 47 | } |
| 48 | |
| 49 | function logAction( |
| 50 | kind: ActionKind, |
no test coverage detected