Index: frog/leg/tools/mini_parser.dart |
diff --git a/frog/leg/tools/mini_parser.dart b/frog/leg/tools/mini_parser.dart |
index 1dbe1d5a76187ad835c317486129a0281a0b410e..cf1dbe23781a20163298c2dc0b527ab46255f335 100644 |
--- a/frog/leg/tools/mini_parser.dart |
+++ b/frog/leg/tools/mini_parser.dart |
@@ -116,8 +116,7 @@ void forEachLine(InputStream input, |
} |
List<int> read(String filename) { |
- File file = new File(filename); |
- file.openSync(); |
+ File file = new File(filename).openSync(); |
bool threw = true; |
try { |
int size = file.lengthSync(); |