Fix formatting for Dart v2-dev (dart-lang/io#38)
* Fix formatting for Dart v2-dev
Fixes https://github.com/dart-lang/io/issues/37
* Travis: be strict about analyzer warnings and lints
diff --git a/pkgs/io/.travis.yml b/pkgs/io/.travis.yml
index 205a404..abe4d04 100644
--- a/pkgs/io/.travis.yml
+++ b/pkgs/io/.travis.yml
@@ -6,9 +6,14 @@
dart_task:
- test
- - dartanalyzer
+ - dartanalyzer: --fatal-warnings --fatal-lints .
- dartfmt
+matrix:
+ exclude:
+ - dart_task: dartfmt
+ dart: stable
+
# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]
diff --git a/pkgs/io/lib/src/process_manager.dart b/pkgs/io/lib/src/process_manager.dart
index 5a14f58..0a257a4 100644
--- a/pkgs/io/lib/src/process_manager.dart
+++ b/pkgs/io/lib/src/process_manager.dart
@@ -220,8 +220,7 @@
this._stdErrSub,
this._stdOut,
this._stdErr,
- )
- : super._(delegate);
+ ) : super._(delegate);
@override
void _onClosed() {
@@ -243,8 +242,7 @@
Stream<List<int>> stdin,
io.IOSink stdout,
io.IOSink stderr,
- )
- : super._(
+ ) : super._(
stdin,
stdout,
stderr,
@@ -256,8 +254,7 @@
Stream<List<int>> stdin,
io.IOSink stdout,
io.IOSink stderr,
- )
- : super._(
+ ) : super._(
stdin,
stdout,
stderr,
diff --git a/pkgs/io/pubspec.yaml b/pkgs/io/pubspec.yaml
index 0e2818e..e8a38f4 100644
--- a/pkgs/io/pubspec.yaml
+++ b/pkgs/io/pubspec.yaml
@@ -1,7 +1,7 @@
name: io
description: >
Utilities for the Dart VM Runtime.
-version: 0.3.2+1
+version: 0.3.3-dev
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/io