alex-seville / grunt-blanket

grunt task to instrument files for code coverage using Blanket.js
http://blanketjs.org
MIT License
29 stars 6 forks source link

Task fails when attempting to set options #2

Closed lazd closed 11 years ago

lazd commented 11 years ago

Grunt config:

blanket: {
    options: {},
    files: {
        'source-cov/': ['source/*'],
    }
}

Resulting error:

Running "blanket:files" (blanket) task
Warning: Object function (options){
        //we don't want to expose the cli option.
        return blanketNode(options,false);
    } has no method 'options' Use --force to continue.

grunt: 0.4.1 grunt-blanket: 0.0.2 blanket: 1.1.2

Note: It looks like this task is out of step with blanket's current API. Since the blanket project is moving quickly, it would be wise to specify the version of blanket this task supports in package.json instead of *

alex-seville commented 11 years ago

Agreed, I noticed this the other day but haven't had time to change it. I should get around to it tonight.

Thanks for the reminder.

lazd commented 11 years ago

Thanks, I can't wait to give this project a whirl :)

alex-seville commented 11 years ago

Done, updated to 0.0.4.