]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Remove dead and broken code from gulpfile (#5794)
authorHendrik Röhm <git@roehm.ws>
Thu, 1 Nov 2018 15:26:20 +0000 (16:26 +0100)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Thu, 1 Nov 2018 15:26:20 +0000 (16:26 +0100)
In commit c216c0af76, the task unittestWatch was removed. However, the watch task links to it, when executed with the test flag. As watching the unittest is possible with `gulp unittest --watch`, this code is not needed anymore and thus removed.

gulpfile.js

index daba620f0f55c9bc84386814911e88dfbd2000d8..49fd66ade16330d425e9d676dde43300070328fd 100644 (file)
@@ -233,9 +233,6 @@ function moduleSizesTask() {
 }
 
 function watchTask() {
-  if (util.env.test) {
-    return gulp.watch('./src/**', ['build', 'unittest', 'unittestWatch']);
-  }
   return gulp.watch('./src/**', ['build']);
 }