Skip to content

Gracefully handle ignored symlinks #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 7, 2025

Conversation

h3rmanj
Copy link
Contributor

@h3rmanj h3rmanj commented May 7, 2025

This checks if the filepath is ignored before doing anything else.

This would crash when it was a symlink, when calling workdir?.oid().

Addresses changesets/action#469

@s0 s0 changed the title fix: check isIgnored first Gracefully handle ignored symlinks May 7, 2025
@s0 s0 force-pushed the fix/check-is-ignored-first branch from 65a3e68 to 5d8ab8f Compare May 7, 2025 18:37
@s0 s0 force-pushed the fix/check-is-ignored-first branch from 5d8ab8f to 1e78dfb Compare May 7, 2025 18:38
@s0 s0 merged commit 231d400 into changesets:main May 7, 2025
4 of 5 checks passed
@github-actions github-actions bot mentioned this pull request May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants