Skip to content

Commit ec8c3ab

Browse files
committed
More fail conditions
1 parent 9d4b275 commit ec8c3ab

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tasks/install.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,12 @@ installer = function (callback) {
148148
;
149149

150150
console.info('Update complete! Run "\x1b[92mgulp build\x1b[0m" to rebuild dist/ files.');
151-
151+
callback();
152152
return;
153153
}
154154
else {
155155
console.log('Current version of Semantic UI already installed');
156+
callback();
156157
return;
157158
}
158159

@@ -328,8 +329,6 @@ installer = function (callback) {
328329
.pipe(gulp.dest(installFolder))
329330
;
330331

331-
callback();
332-
333332
}
334333

335334

0 commit comments

Comments
 (0)