(filepath)
| 51 | } |
| 52 | |
| 53 | function asyncMkDirP(filepath) { |
| 54 | return new Promise((resolve, reject) => |
| 55 | mkdirp(filepath, error => { |
| 56 | if (error) { |
| 57 | reject(error); |
| 58 | return; |
| 59 | } |
| 60 | resolve(); |
| 61 | }) |
| 62 | ); |
| 63 | } |
| 64 | |
| 65 | function asyncRimRaf(filepath) { |
| 66 | return new Promise((resolve, reject) => |
no test coverage detected