Index: samples/buildhook1/build.dart |
diff --git a/samples/buildhook1/build.dart b/samples/buildhook1/build.dart |
index 545378bc0b1647492b9ab400d5ca28e6f31fe157..ca25ad5eb01cce6fbe53ab369842c9589cced784 100644 |
--- a/samples/buildhook1/build.dart |
+++ b/samples/buildhook1/build.dart |
@@ -22,7 +22,7 @@ void main() { |
} |
void _processFile(String file) { |
- String contents = new File(file).readAsTextSync(); |
+ String contents = new File(file).readAsStringSync(); |
if (contents != null) { |
OutputStream out = new File("${file}bar").openOutputStream(); |