Moved process exit to the end such that it exits with success and fail, both.

This commit is contained in:
Kasra Bigdeli
2018-05-15 21:57:23 -07:00
parent 9a412a5627
commit 8eeda43b9d
@@ -320,6 +320,8 @@ module.exports.install = function () {
.catch(function (error) {
console.log('Installation failed.');
console.error(error);
})
.then(function () {
process.exit();
});
};