Index: utils/pub/io.dart |
diff --git a/utils/pub/io.dart b/utils/pub/io.dart |
index 856413d5af05ff8368ea4634fc8c913ee473d764..ebdb35a80994a1f0aa580234ebd15f660a9ed8c7 100644 |
--- a/utils/pub/io.dart |
+++ b/utils/pub/io.dart |
@@ -161,7 +161,7 @@ Future<List<String>> listDir(String dir, |
lister.listen( |
(entity) { |
if (entity is File) { |
- var file = entity.name; |
+ var file = entity.path; |
if (!includeHiddenFiles && path.basename(file).startsWith('.')) { |
return; |
} |