From ec8c3ab520f933130d4fa7c2b978c9e5ee177154 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 25 May 2020 19:41:35 -0700 Subject: [PATCH] More fail conditions --- tasks/install.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/install.js b/tasks/install.js index 09e98bf57..72715d245 100644 --- a/tasks/install.js +++ b/tasks/install.js @@ -148,11 +148,12 @@ installer = function (callback) { ; console.info('Update complete! Run "\x1b[92mgulp build\x1b[0m" to rebuild dist/ files.'); - + callback(); return; } else { console.log('Current version of Semantic UI already installed'); + callback(); return; } @@ -328,8 +329,6 @@ installer = function (callback) { .pipe(gulp.dest(installFolder)) ; - callback(); - }