Index: utils/pub/validator/directory.dart |
diff --git a/utils/pub/validator/directory.dart b/utils/pub/validator/directory.dart |
index 132bdd72132718a9d58e589451ad295159c423ce..09a6c7e952b713e94a8f5e103bdf59530693437c 100644 |
--- a/utils/pub/validator/directory.dart |
+++ b/utils/pub/validator/directory.dart |
@@ -19,7 +19,7 @@ class DirectoryValidator extends Validator { |
Future validate() { |
return listDir(entrypoint.root.dir).then((dirs) { |
- return Future.wait(dirs.mappedBy((dir) { |
+ return Future.wait(dirs.map((dir) { |
return dirExists(dir).then((exists) { |
if (!exists) return; |