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

fix: canonicalize relative paths when looking for the workspace manifest #148

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

bnjbvr
Copy link
Owner

@bnjbvr bnjbvr commented Jan 14, 2025

Fixes #135.

Using the pretty-print display for anyhow errors will display the
transitive closure of the errors' sources.
This makes it possible to support finding the workspace, when running
cargo-machete with a relative path, within a directory which workspace
is in a parent directory.
@bnjbvr bnjbvr force-pushed the canonicalize-relative-path branch from 2ca7da5 to 5fdfbe4 Compare January 14, 2025 19:53
@bnjbvr bnjbvr merged commit d462051 into main Jan 15, 2025
4 checks passed
@bnjbvr bnjbvr deleted the canonicalize-relative-path branch January 15, 2025 15:44
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.

bug: No such file or directory error on mac
1 participant