Closed jackyjieliu closed 8 years ago
Looks like the test is failing on older versions of node because we can't use const
widely yet without Babel or other compilers.
Didn't realize i was using const. Thanks for catching it
This looks great! Thanks.
@jackyjieliu See comments in the commit.
As discussed, the Vorpal action should be able to use this.cancel()
internally to cancel itself. This should also emit the event.
CTRL + C will cancel a running command (if any running) by calling the cancel function registered and the cancel function on the promise if it exists
45