Running mise prune
on windows removes all tools
#4187
Unanswered
NavyD
asked this question in
Troubleshooting and bug reports
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Running the following command on windows removes all the tools, but neither
[email protected]
nor[email protected]
should actually be removedI found that when reading tracked config files using
crate::config::tracking::Tracker::list_all()
on windows thepath.is_symlink() == false
condition skips all tracked config files, makingcrate::config::get_tracked_config_files()
return an empty map, thus not filtering out any of the latest versions that currently exist!mise/src/config/tracking.rs
Lines 30 to 32 in 5b2d795
Based on the current structure of tracked-configs, a simple solution would be to just have
crate::config::tracking::Tracker::list_all()
read the paths contained in the file on windows instead of reading symlink!Is there any better solution for this?
Beta Was this translation helpful? Give feedback.
All reactions