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(); |
} |