Index: utils/pub/validator/name.dart |
diff --git a/utils/pub/validator/name.dart b/utils/pub/validator/name.dart |
index 3d467c579bde4daaf7c45f68f620b721ba376303..8d9e93dfe49f3e83c5a3410ce294a16224e99111 100644 |
--- a/utils/pub/validator/name.dart |
+++ b/utils/pub/validator/name.dart |
@@ -49,7 +49,7 @@ class NameValidator extends Validator { |
return dirExists(libDir).chain((libDirExists) { |
if (!libDirExists) return new Future.immediate([]); |
return listDir(libDir, recursive: true); |
- }).transform((files) { |
+ }).then((files) { |
return files.map((file) => relativeTo(file, dirname(libDir))) |
.filter((file) { |
return !splitPath(file).contains("src") && |