gruntjs/grunt-contrib — pull request #42 by ctalkington (2012-06-16 07:41:20+00:00)
Title: clean: update logic, docs, and upgrade to latest rimraf.

This is a bit of an update to make clean async and use rimraf v2.0. I also added better error checking for the task that does more sanity checks than before because if passed a bad input it could be harmful.

I messed up and passed a string vs array while initially testing async changes and wiped out some files in the root of my C drive, luckily it stopped with my basic error catch but it lead me to dive deeper.

I established a list of various single characters that we should block just as a precaution also added grunt.template processing.

@tkellen let me know what you think.