(dest)
| 91 | * @returns {Promise<void>} |
| 92 | */ |
| 93 | export async function mkDirIfMissing(dest) { |
| 94 | const dir = path.dirname(dest); |
| 95 | if (!(await pathExists(dir))) { |
| 96 | await fs.mkdir(dir, {recursive: true}); |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | /** |
| 101 | * @param {string} src |
no test coverage detected