Index: utils/pub/validator/name.dart |
diff --git a/utils/pub/validator/name.dart b/utils/pub/validator/name.dart |
index 6a8cd918ea67ea1409e07ff4d1ce60c6250dea90..2ad4bc9faa00ac7eaf4b18009716758f78e2a369 100644 |
--- a/utils/pub/validator/name.dart |
+++ b/utils/pub/validator/name.dart |
@@ -48,7 +48,7 @@ class NameValidator extends Validator { |
/// Returns a list of all libraries in the current package as paths relative |
/// to the package's root directory. |
Future<List<String>> get _libraries { |
- var libDir = join(entrypoint.root.dir, "lib"); |
+ var libDir = path.join(entrypoint.root.dir, "lib"); |
return defer(() { |
if (!dirExists(libDir)) return []; |
return listDir(libDir, recursive: true); |