| Index: build.dart
|
| diff --git a/build.dart b/build.dart
|
| index dcb3efbf810f14419bebf90cbcce415b815f8e10..047b75c620e147aed9824ae6a95b12eaf1b927a8 100644
|
| --- a/build.dart
|
| +++ b/build.dart
|
| @@ -102,14 +102,14 @@ Future<bool> _updateIfChanged(String filePath, String newContent) {
|
| return file.readAsString()
|
| .then((String content) => content != newContent);
|
| } else {
|
| - return new Future.immediate(true);
|
| + return new Future.value(true);
|
| }
|
| }).then((bool shouldUpdate) {
|
| if(shouldUpdate) {
|
| return file.writeAsString(newContent)
|
| .then((_) => true);
|
| } else {
|
| - return new Future.immediate(false);
|
| + return new Future.value(false);
|
| }
|
| });
|
| }
|
|
|