Skip to content

fix(package_links): regenerate broken symlinks - #374

Open
ricted98 wants to merge 1 commit into
masterfrom
fix/package_links
Open

ricted98 wants to merge 1 commit into
masterfrom
fix/package_links

Conversation

@ricted98

@ricted98 ricted98 commented Oct 18, 2026 •

Copy link
Copy Markdown

I encountered an issue in this scenario.

  • Some package_links is defined. Let's say .deps/mydep for mydep.
  • I use bender clone mydep, then I delete the folder and the override.
  • The link now points to a non-existing path, making the symlink broken.
  • If I do a bender update mydep I will encounter an error due to the symlink being broken.

I think the issue is that exists follows the symlink pointed path and does not check the actual symlink. This PR should fix the issue.

@ricted98
ricted98 requested a review from micprog October 18, 2026 08:07

This branch has not been deployed

No deployments
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.

1 participant