Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(707)

Unified Diff: utils/pub/validator/compiled_dartdoc.dart

Issue 12255016: Get rid of old redundant methods in io.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise and update to latest. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/pub/system_cache.dart ('k') | utils/pub/validator/directory.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [
« no previous file with comments | « utils/pub/system_cache.dart ('k') | utils/pub/validator/directory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698