Index: utils/pub/command_lish.dart |
diff --git a/utils/pub/command_lish.dart b/utils/pub/command_lish.dart |
index 59bfbbf452cd7f4e3da6b3fbf8c5c5a1b8f4fc88..81d896a956ec32da939736b6c99685efebe33688 100644 |
--- a/utils/pub/command_lish.dart |
+++ b/utils/pub/command_lish.dart |
@@ -128,7 +128,7 @@ class LishCommand extends PubCommand { |
} |
return listDir(rootDir, recursive: true).then((entries) { |
- return Future.wait(entries.mappedBy((entry) { |
+ return Future.wait(entries.map((entry) { |
return fileExists(entry).then((isFile) { |
// Skip directories. |
if (!isFile) return null; |