sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
5.97k stars 629 forks source link

Bug: native `uninstall` command fails due to `current link broken, stepping over: The file or directory is not a reparse point. (os error 4390)` #1284

Open kr5ture opened 3 months ago

kr5ture commented 3 months ago

Bug report uninstall function is not working properly:

💡 It seems only native uninstall implementation is affected - when I removed .sdkman/libexec/uninstall.exe then uninstall command works just fine.

Error message seems to be produced by this error handler: https://github.com/sdkman/sdkman-cli-native/blob/master/src/bin/uninstall/main.rs#L43-L69

To reproduce

⬆️

System info