(command)
| 27 | } |
| 28 | |
| 29 | function asyncExecuteCommand(command) { |
| 30 | return new Promise((resolve, reject) => |
| 31 | exec(command, (error, stdout) => { |
| 32 | if (error) { |
| 33 | reject(error); |
| 34 | return; |
| 35 | } |
| 36 | resolve(stdout); |
| 37 | }) |
| 38 | ); |
| 39 | } |
| 40 | |
| 41 | function asyncExtractTar(options) { |
| 42 | return new Promise((resolve, reject) => |
no test coverage detected