Browse Source

Fix process exit without callback

pull/7005/head
Jack 4 years ago
parent
commit
b2e8377709
1 changed files with 3 additions and 2 deletions
  1. 5
      tasks/install.js

5
tasks/install.js

@ -421,12 +421,13 @@ installer = function (callback) {
});
task('clean up install', function() {
task('clean up install', function(callback) {
// Completion Message
if(installFolder && !install.shouldAutoInstall()) {
console.log('\n Setup Complete! \n Installing Peer Dependencies. \x1b[0;31mPlease refrain from ctrl + c\x1b[0m... \n After completion navigate to \x1b[92m' + answers.semanticRoot + '\x1b[0m and run "\x1b[92mgulp build\x1b[0m" to build');
process.exit(0);
callback();
return;
}
else {
console.log('');

Loading…
Cancel
Save