| Index: utils/pub/validator/compiled_dartdoc.dart
|
| diff --git a/utils/pub/validator/compiled_dartdoc.dart b/utils/pub/validator/compiled_dartdoc.dart
|
| index 1998c47c479a3e2784e18136a1dc0a3faeec2a16..45a8fbaf2299dfc94ff26c1a28ce9d25440fe552 100644
|
| --- a/utils/pub/validator/compiled_dartdoc.dart
|
| +++ b/utils/pub/validator/compiled_dartdoc.dart
|
| @@ -20,7 +20,7 @@ class CompiledDartdocValidator extends Validator {
|
| : super(entrypoint);
|
|
|
| Future validate() {
|
| - return new Future.of(() {
|
| + return new Future.sync(() {
|
| for (var entry in listDir(entrypoint.root.dir, recursive: true)) {
|
| if (path.basename(entry) != "nav.json") continue;
|
| var dir = path.dirname(entry);
|
|
|