Chromium Code Reviews| Index: pkg/docgen/lib/docgen.dart |
| diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart |
| index b31ef40f1c58755ec4783406f84c374de6bdc8b3..b960db74ecc4b5212e6951cdcd86cbbaa739360c 100644 |
| --- a/pkg/docgen/lib/docgen.dart |
| +++ b/pkg/docgen/lib/docgen.dart |
| @@ -483,7 +483,7 @@ void _writeToFile(String text, String filename, {bool append: false}) { |
| if (!file.existsSync()) { |
| file.createSync(); |
| } |
| - file.writeAsString(text, mode: append ? FileMode.APPEND : FileMode.WRITE); |
| + file.writeAsStringSync(text, mode: append ? FileMode.APPEND : FileMode.WRITE); |
|
Emily Fortuna
2013/08/08 21:07:56
did you time this on linux? does this increase the
Tate Mandel
2013/08/08 21:19:13
I ran each version several times on Linux.
This v
Emily Fortuna
2013/08/08 21:58:22
Curious! Well, I'm convinced! After you submit thi
|
| } |
| /** |