Bump version to publish 1.2.0. (#742)
(Also fix a tiny missing await.)
diff --git a/bin/format.dart b/bin/format.dart
index 243cbbb..aefafb6 100644
--- a/bin/format.dart
+++ b/bin/format.dart
@@ -15,7 +15,7 @@
import 'package:dart_style/src/style_fix.dart';
// Note: The following line of code is modified by tool/grind.dart.
-const version = "1.1.3";
+const version = "1.2.0";
void main(List<String> args) {
var parser = new ArgParser(allowTrailingOptions: true);
diff --git a/pubspec.yaml b/pubspec.yaml
index da0a977..622cf1e 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: dart_style
# Note: See tool/grind.dart for how to bump the version.
-version: 1.2.0-dev
+version: 1.2.0
author: Dart Team <misc@dartlang.org>
description: Opinionated, automatic Dart source code formatter.
homepage: https://github.com/dart-lang/dart_style
diff --git a/test/command_line_test.dart b/test/command_line_test.dart
index f85db29..14f39e0 100644
--- a/test/command_line_test.dart
+++ b/test/command_line_test.dart
@@ -316,7 +316,7 @@
"Could not format because the source could not be parsed:");
expect(await process.stderr.next, "");
expect(await process.stderr.next, contains("some/path.dart"));
- process.stderr.cancel();
+ await process.stderr.cancel();
await process.shouldExit(65);
});
});