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: Normalize paths before comparing them #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LukeMathWalker
Copy link
Owner

It should fix LukeMathWalker/cargo-chef#295 in cargo-chef.

Copy link
Collaborator

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a test case for this? 🙏

Comment on lines +472 to +473
let discovered_path =
path_clean::clean(std::path::PathBuf::from(&discovered_target.path));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can the discovered paths actually contain things that require cleanup? 🤔

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.

cargo-chef 0.1.69 produces duplicate target in xplr crate
2 participants