Index: utils/lib/file_system_memory.dart |
diff --git a/utils/lib/file_system_memory.dart b/utils/lib/file_system_memory.dart |
index f638a41d2181cfe407cb3b0f058fa4c8ceb122ad..c1a15b930b9d6adca818fcdc16f847a27207f2c7 100644 |
--- a/utils/lib/file_system_memory.dart |
+++ b/utils/lib/file_system_memory.dart |
@@ -17,7 +17,7 @@ class MemoryFileSystem implements FileSystem { |
MemoryFileSystem() : this.buffer = new StringBuffer(); |
void writeString(String outfile, String text) { |
- buffer.add(text); |
+ buffer.write(text); |
} |
String readAll(String filename) { |