In install and install_latest, if the specified version already existed, it would call the callback without verifying if it was passed.
When launching tsc to compile the file, it would only print out the error object if it existed. Issue with this is we don't see compiler errors. Fix this by always printing stdout. Also, use console.log instead of util.print.
Two fixes
In install and install_latest, if the specified version already existed, it would call the callback without verifying if it was passed.
When launching
tsc
to compile the file, it would only print out the error object if it existed. Issue with this is we don't see compiler errors. Fix this by always printing stdout. Also, useconsole.log
instead ofutil.print
.