mirror of
https://github.com/caprover/caprover
synced 2026-05-12 22:50:35 +00:00
Moved process exit to the end such that it exits with success and fail, both.
This commit is contained in:
@@ -320,6 +320,8 @@ module.exports.install = function () {
|
||||
.catch(function (error) {
|
||||
console.log('Installation failed.');
|
||||
console.error(error);
|
||||
})
|
||||
.then(function () {
|
||||
process.exit();
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user