cowboy/grunt — pull request #384 by sindresorhus (2012-08-26 21:58:40+00:00)
Title: Strip colors from grunt.log methods on `--no-color`

Fixes #383

So I figured out why grunt wouldn't strip colors. It actually does, but only on console.log. I was using grunt.log.

I fixed it so that grunt.log.write, which I believe all of them eventually uses now strips colors when the `--no-color` flag is set.

I couldn't figure out how to actually test this, since it actually relies on a cli flag. Any pointers?