From b2e83777090c6b8737283ccb17544633964014a3 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 25 May 2020 21:02:57 -0700 Subject: [PATCH] Fix process exit without callback --- tasks/install.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/install.js b/tasks/install.js index 72715d245..243c2374c 100644 --- a/tasks/install.js +++ b/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('');