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

make --exclude also exclude packages from results #147

Merged
merged 1 commit into from
Jan 12, 2023
Merged

make --exclude also exclude packages from results #147

merged 1 commit into from
Jan 12, 2023

Conversation

danhhz
Copy link
Contributor

@danhhz danhhz commented Jan 12, 2023

Specifically, if a package A depends on B and that dependency is unused, --exclude A will omit it from the results, but --exclude B will not.

Closes #146

Copy link
Owner

@est31 est31 left a comment

Choose a reason for hiding this comment

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

Looks good except for formatting nit

src/lib.rs Outdated Show resolved Hide resolved
Specifically, if a package A depends on B and that dependency is unused,
--exclude A will omit it from the results, but --exclude B will not.
@danhhz
Copy link
Contributor Author

danhhz commented Jan 12, 2023

Hmmm that CI failure seems to also reproduce before this PR. Any advice?

@est31
Copy link
Owner

est31 commented Jan 12, 2023

@danhhz yeah it's not your fault. It's due to the cargo update, I need to investigate it more.

@est31 est31 merged commit b84d478 into est31:master Jan 12, 2023
@danhhz danhhz deleted the exclude branch January 12, 2023 21:01
@danhhz
Copy link
Contributor Author

danhhz commented Jan 12, 2023

Okay, gotcha. Thanks so much!

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.

possibly surprising behavior for --expect?
2 participants