From ac24a301bd28bc1dda5330650fb8771e7d9c2480 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 1 Jul 2015 16:34:08 -0700 Subject: [PATCH] build(gulp): remove the tmp cleanup code this is no longer necessary and if anyone runs two gulp processes in parallel can actually cause issues because once one of the processes ends, it delets the tmp dir which can affect the remaining process --- gulpfile.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 5f8b9d7342..9573fd27f0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1022,11 +1022,8 @@ gulp.task('build.dart.material', ['build/packages.dart'], function() { }); -gulp.task('cleanup.builder', function(done) { - angularBuilder.cleanup().then(function() { - del('tmp', done); // TODO(iminar): remove after 2015-06-01 - // this is here just to cleanup old files that we leaked in the past - }); +gulp.task('cleanup.builder', function() { + return angularBuilder.cleanup(); }); gulp.task('benchpress.bundle', ['build/clean.benchpress.bundle', 'build.js.cjs'], function(cb) {