Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Safer delete #5
Thanks for creating this plugin, it is useful.
I ran into a problem I had though. This plugin definitely very dangerous... this PR makes it a little less dangerous...
So I passed in
and....... it deleted everything in my current project path. Bye bye,
but yeh, kinda nuts. I was trying to tell Clean to delete nothing, and I thought passing in an empty string, will cause it to not delete anything..... instead it deleted everything....
This PR prevents this... disallows deleting of the entire project library, also makes sure anything you do delete is a sub-folder of the current project....