Skip to content

Commit b2e8377

Browse files
committed
Fix process exit without callback
1 parent 9b63491 commit b2e8377

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tasks/install.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,12 +421,13 @@ installer = function (callback) {
421421

422422
});
423423

424-
task('clean up install', function() {
424+
task('clean up install', function(callback) {
425425

426426
// Completion Message
427427
if(installFolder && !install.shouldAutoInstall()) {
428428
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');
429-
process.exit(0);
429+
callback();
430+
return;
430431
}
431432
else {
432433
console.log('');

0 commit comments

Comments
 (0)