| Index: utils/pub/io.dart
|
| diff --git a/utils/pub/io.dart b/utils/pub/io.dart
|
| index 50889289ab1edc7dba6a6a548f353b4d76cf0664..664147dd8e8dadf946651cd7031145aa9a72c28d 100644
|
| --- a/utils/pub/io.dart
|
| +++ b/utils/pub/io.dart
|
| @@ -69,7 +69,7 @@ String writeTextFile(String file, String contents, {dontLogContents: false}) {
|
| String writeBinaryFile(String file, List<int> contents) {
|
| log.io("Writing ${contents.length} bytes to binary file $file.");
|
| new File(file).openSync(mode: FileMode.WRITE)
|
| - ..writeListSync(contents, 0, contents.length)
|
| + ..writeFromSync(contents)
|
| ..closeSync();
|
| log.fine("Wrote text file $file.");
|
| return file;
|
|
|