cargo-sweep icon indicating copy to clipboard operation
cargo-sweep copied to clipboard

`cargo sweep -d --file` removes timestamp file

Open Nemo157 opened this issue 3 years ago • 1 comments

I expected it to be possible to do a dry-run, then an actual run afterwards, but the dry-run deleted the timestamp file so that the actual run didn't work.

Nemo157 avatar Jul 05 '20 09:07 Nemo157

Sounds like something we want to fix

holmgr avatar Jul 09 '20 04:07 holmgr

Note for someone who might solve this in the future, you might want to update this test too: https://github.com/holmgr/cargo-sweep/blob/fd4dc55dd89d480276aace44b1af6adeeab7ed05/tests/integration.rs#L192-L194

marcospb19 avatar Dec 26 '22 23:12 marcospb19