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 01dd0bf94b6e9ad9d4d7c3ec8516bb284d83b05c..2b0a506b4152a21cdd3e2b03eaad1837351fe546 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command/lish.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command/lish.dart |
@@ -117,7 +117,7 @@ class LishCommand extends PubCommand { |
'pubspec.'); |
} |
- var files = entrypoint.root.listFiles(); |
+ var files = entrypoint.root.listFiles(useGitIgnore: true); |
log.fine('Archiving and publishing ${entrypoint.root}.'); |
// Show the package contents so the user can verify they look OK. |