rock3r/deep-clean

The -p and -n options may nuke the entire IDE home folders on Windows/Linux

rock3r opened this issue · 0 comments

Describe the bug
The script has only been tested on macOS and I suspect on Windows/Linux the -p and -n options are removing the whole "home" IDE folder for the user. I don't have either system to test on, so this requires someone to help out.

To Reproduce
[unknown] needs triaging

Expected behavior
-p and -n should only remove the IDE preferences subfolder, and the cache subfolder. Not the whole IDE folder in the users' home folder.

System information

  • OS version: Windows/Linux
  • Kotlin version: n/a
  • Maven version: n/a
  • KScript version: n/a
  • Script version: 1.4.0