(dest, content, encoding = 'utf8')
| 136 | * @returns {Promise<void>} |
| 137 | */ |
| 138 | export async function writeFile(dest, content, encoding = 'utf8') { |
| 139 | await mkDirIfMissing(dest); |
| 140 | await fs.writeFile(dest, content, encoding); |
| 141 | } |
| 142 | |
| 143 | /** |
| 144 | * @param {string} path |
no test coverage detected