( templatePath: string, destinationPath: string, data: unknown )
| 22 | } |
| 23 | |
| 24 | export async function buildFileFromTemplate( |
| 25 | templatePath: string, |
| 26 | destinationPath: string, |
| 27 | data: unknown |
| 28 | ) { |
| 29 | fs.writeFileSync( |
| 30 | destinationPath, |
| 31 | await buildStringFromTemplate(templatePath, data) |
| 32 | ); |
| 33 | } |
no test coverage detected