From 8c3007e4b52776bdc5f3a8dc333235b2d17ed95a Mon Sep 17 00:00:00 2001
From: Martin Probst <martin@probst.io>
Date: Tue, 7 Apr 2015 14:12:41 -0700
Subject: [PATCH] fix(build): Remove unused `done` function arguments.

gulp only requires receiving a done argument if a task is not returning
a stream. Doing both is unnecessary and confusing.
---
 gulpfile.js | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gulpfile.js b/gulpfile.js
index 1ede64e398572..c491d706d0e60 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -368,10 +368,12 @@ gulp.task('build/transpile.js.cjs', transpile(gulp, gulpPlugins, {
   srcFolderInsertion: CONFIG.srcFolderInsertion.js
 }));
 gulp.task('build/transformCJSTests', function() {
-  return gulp.src(CONFIG.dest.js.cjs + '/angular2/test/**/*_spec.js').pipe(transformCJSTests()).pipe(gulp.dest(CONFIG.dest.js.cjs + '/angular2/test/'));
+  return gulp.src(CONFIG.dest.js.cjs + '/angular2/test/**/*_spec.js')
+      .pipe(transformCJSTests())
+      .pipe(gulp.dest(CONFIG.dest.js.cjs + '/angular2/test/'));
 });
 
-gulp.task('build/transpile.dart', function(done) {
+gulp.task('build/transpile.dart', function() {
   return gulp.src(CONFIG.transpile.src.dart)
       .pipe(ts2dart.transpile())
       .pipe(util.insertSrcFolder(gulpPlugins, CONFIG.srcFolderInsertion.dart))
@@ -723,7 +725,7 @@ gulp.task('test.server.dart', runServerDartTests(gulp, gulpPlugins, {
 
 // -----------------
 // test builders
-gulp.task('test.transpiler.unittest', function (done) {
+gulp.task('test.transpiler.unittest', function() {
   return gulp.src('tools/transpiler/unittest/**/*.js')
       .pipe(jasmine({
         includeStackTrace: true