Closed anandchakru closed 6 months ago
I'm so sorry that this happened, this is a decision that was made before the project was forked and something we probably should have scrutinized much earlier The reason this cleanup is in place is to prevent node installations from accumulating and filling up the disk, so while the functionality is probably not going away we absolutely should check that we're only deleting node
This has been fixed in 7.0.2, we now only delete files that either start with node-v
or are in a folder starting with node-v
It's not foolproof but should help prevent worst-case scenarios
Please DO NOT DELETE everything in any directory, no matter what configuration/misconfiguration is in build.gradle file. Here is what I had in my build.gradle when this DISASTER happened 😩.
After I ran gradle clean build, this is what I have in my-ui directory
drwxr-xr-x@ 9 loki staff 288 Dec 24 22:24 node-v20.10.0-darwin-x64