-
Notifications
You must be signed in to change notification settings - Fork 31
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
Tweak message for when nothing is cleaned from a project #93
Comments
Hmm, maybe instead we should lower the log level to DEBUG if nothing was cleaned? |
That would be bad if you're not using
I'd expect some output to be shown with some message, if nothing is outputted, I can assume it worked and sweeped the project. Also, it's very useful to see what |
I think, this can be closed now |
True! Thanks. GitHub tip: you can add "Fixes #NNN" or "Fix #NNN" to automatically close the referred issue with the PR merge 😉. |
Yeah, I actually included "#NNN" in the commit message, but looks like it either requires "Fix" / "Fixes" or only works in pull requests |
I think it would be a good small improvement if
cargo-sweep
emitted a different message for when it cleans 0.00 bytes from a project.After running this at my
$HOME
:I got this:
A lot of lines look like this:
Instead of
"Cleaned 0.00 bytes from"
, it could tell something like"Did nothing on"
,"Cleaned nothing from"
or"Nothing to do at"
.The text was updated successfully, but these errors were encountered: