nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.22k stars 42 forks source link

Really read the latest modified index dir #56

Closed durka closed 6 years ago

durka commented 6 years ago

The previous code used the directory last-modified date to decide which is the newest index checkout. However, this doesn't account for the possibility of files within the directory that have been touched more recently than the directory itself. I don't know how this situation arises but my guess is it has to do with switching cargo versions back and forth using rustup.

I also included some minor typo fixes.

Ref: #32

nabijaczleweli commented 6 years ago

Nice! Thanks!

nabijaczleweli commented 6 years ago

Released in v1.3.2