Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(543)

Unified Diff: tools/yaml2json.dart

Issue 2827793002: Format all files under tools and utils directory. (Closed)
Patch Set: Format all files under tools and utils directory. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/testing/dart/vendored_pkg/args/src/parser.dart ('k') | utils/compiler/create_snapshot.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/yaml2json.dart
diff --git a/tools/yaml2json.dart b/tools/yaml2json.dart
index d781f9538b019cd78757da63d2820d6030148be4..9eec2ed882a6cb19a25b6434d080a6f4052f5031 100644
--- a/tools/yaml2json.dart
+++ b/tools/yaml2json.dart
@@ -19,7 +19,7 @@ main(List<String> arguments) async {
Uri input = Uri.base.resolve(arguments[0]);
Uri output = Uri.base.resolve(arguments[1]);
var yaml = loadYaml(await new File.fromUri(input).readAsString());
- await new File.fromUri(output).writeAsString(
- const JsonEncoder.withIndent(" ").convert(yaml));
+ await new File.fromUri(output)
+ .writeAsString(const JsonEncoder.withIndent(" ").convert(yaml));
port.close();
}
« no previous file with comments | « tools/testing/dart/vendored_pkg/args/src/parser.dart ('k') | utils/compiler/create_snapshot.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698