(filepath)
| 63 | } |
| 64 | |
| 65 | function asyncRimRaf(filepath) { |
| 66 | return new Promise((resolve, reject) => |
| 67 | rimraf(filepath, error => { |
| 68 | if (error) { |
| 69 | reject(error); |
| 70 | return; |
| 71 | } |
| 72 | resolve(); |
| 73 | }) |
| 74 | ); |
| 75 | } |
| 76 | |
| 77 | function resolvePath(filepath) { |
| 78 | if (filepath[0] === '~') { |
no test coverage detected