Skip to content

Conversation

@ritesh006
Copy link

Fixes #5160

Problem:
pio pkg pack/publish included .vscode directories inside subfolders
(e.g. examples), even though the top-level .vscode was excluded.

Change:
Added **/.vscode/ (and normalized .vscode/ with trailing slash) to
EXCLUDE_DEFAULT. This mirrors .pio handling and ensures both top-level
and nested .vscode folders are excluded automatically.

Manual test:

  • Created test package with examples/blink/.vscode/settings.json
  • Before patch: file appeared in tarball
  • After patch: .vscode excluded from tarball
@ritesh006
Copy link
Author

could anyone please review this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant