Index: sdk/lib/_internal/pub/lib/src/command/lish.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/command/lish.dart b/sdk/lib/_internal/pub/lib/src/command/lish.dart |
index 38fa8eded9fc6d2fc84a722c3ba775b24d0392e3..ed0d99b54d0c57b05892037ac110dea2dfb22ab8 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command/lish.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command/lish.dart |
@@ -97,7 +97,7 @@ class LishCommand extends PubCommand { |
usageError('Cannot use both --force and --dry-run.'); |
} |
- var files = entrypoint.packageFiles(); |
+ var files = entrypoint.root.listFiles(); |
log.fine('Archiving and publishing ${entrypoint.root}.'); |
// Show the package contents so the user can verify they look OK. |