purifycss / grunt-purifycss

Remove unused CSS with the grunt build tool
MIT License
163 stars 21 forks source link

Correctly pass options object #12

Closed tpgmartin closed 8 years ago

tpgmartin commented 9 years ago

This is a fix for this bug https://github.com/purifycss/grunt-purifycss/issues/7

yamadapc commented 9 years ago

I think it'd be nice to keep the defaults: http://gruntjs.com/api/inside-tasks#this.options

On https://github.com/purifycss/grunt-purifycss/pull/12/files#diff-56dbf8e9ec3b352cf5842d5dbaa8e1bbR18 you can add

var options = this.options({
  write: false,
  info: true,
});
sjungwirth commented 9 years ago

Please merge this

kennyt commented 8 years ago

19 fixed this, thank you