Index: utils/pub/validator/compiled_dartdoc.dart |
diff --git a/utils/pub/validator/compiled_dartdoc.dart b/utils/pub/validator/compiled_dartdoc.dart |
index cd83e7600292c091d5ec3d12a760e81c566f4f55..3ab5c34702bf98bbee3cb922a696be9454fd3741 100644 |
--- a/utils/pub/validator/compiled_dartdoc.dart |
+++ b/utils/pub/validator/compiled_dartdoc.dart |
@@ -22,7 +22,7 @@ class CompiledDartdocValidator extends Validator { |
Future validate() { |
return listDir(entrypoint.root.dir, recursive: true).then((entries) { |
for (var entry in entries) { |
- if (path.basename(entry) != "nav.json") return false; |
+ if (path.basename(entry) != "nav.json") continue; |
var dir = path.dirname(entry); |
// Look for tell-tale Dartdoc output files all in the same directory. |