(command)
| 14 | } |
| 15 | |
| 16 | function executeCommand(command) { |
| 17 | return new Promise(_resolve => |
| 18 | exec(command, error => { |
| 19 | if (!error) { |
| 20 | _resolve(); |
| 21 | } else { |
| 22 | console.error(error); |
| 23 | process.exit(1); |
| 24 | } |
| 25 | }) |
| 26 | ); |
| 27 | } |
| 28 | |
| 29 | function asyncCopyTo(from, to) { |
| 30 | return new Promise(_resolve => { |
no test coverage detected