Skip to content

Commit dd235f3

Browse files
committed
fix(build): try to eliminate build flakes by running dartstyle:format sequentially
1 parent 5306b6d commit dd235f3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

gulpfile.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,10 @@ gulp.task('build/packages.dart', function(done) {
717717
runSequence(
718718
['build/transpile.dart.ts2dart', 'build/transpile.dart', 'build/html.dart', 'build/copy.dart', 'build/multicopy.dart'],
719719
'tests/transform.dart',
720-
['build/format.dart.ts2dart', 'build/format.dart'],
720+
// the two format steps don't need to be sequential, but we have seen flakiness in
721+
// dartstyle:format with connecting to localhost.
722+
'build/format.dart.ts2dart',
723+
'build/format.dart',
721724
'build/pubspec.dart',
722725
done
723726
);

0 commit comments

Comments
 (0)