Skip to content
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

Do not crash when a broken symlink is encountered #91

Conversation

BrianHenryIE
Copy link
Member

This is related to but is not the fix for #86.

In this PR, an error is returned if there is a broken symlink that is not part of an ignored path.

Broken symlink at {link_location}. Target missing at {link_target}.

 "Broken symlink at {$relative_filepath}. Target missing at {$item->getLinkTarget()}."
@BrianHenryIE BrianHenryIE requested a review from a team as a code owner April 30, 2024 04:17
@danielbachhuber danielbachhuber added this to the 3.0.1 milestone May 8, 2024
@danielbachhuber danielbachhuber merged commit 1d0adc4 into wp-cli:main May 8, 2024
25 checks passed
BrianHenryIE added a commit to BrianHenryIE/dist-archive-command that referenced this pull request Jul 12, 2024
"Broken symlink at {$relative_filepath}. Target missing at {$item->getLinkTarget()}."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants