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