From 649fd5a7a94035d7d93df4ca024dba50006ebe6f Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 24 Apr 2015 23:30:30 -0700 Subject: [PATCH] chore(build): exclude tree-differ.ts from format-checking due to a bug in clang-format see https://github.com/angular/clang-format/issues/4 --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index c3a3b394af..1726d43ec7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -288,7 +288,8 @@ gulp.task('build/format.dart', rundartpackage(gulp, gulpPlugins, { })); function doCheckFormat() { - return gulp.src(['Brocfile*.js', 'modules/**/*.ts', 'tools/**/*.ts', '!**/typings/**/*.d.ts']) + return gulp.src(['Brocfile*.js', 'modules/**/*.ts', 'tools/**/*.ts', '!**/typings/**/*.d.ts', + '!tools/broccoli/tree-differ.ts']) // See https://github.com/angular/clang-format/issues/4 .pipe(format.checkFormat('file')); }