grunt-verb icon indicating copy to clipboard operation
grunt-verb copied to clipboard

Can't override defaults with custom verb:readme config in Gruntfile.js

Open jwtd opened this issue 10 years ago • 1 comments

To override the default locations with a custom verb config block in my Gruntfile.js I had to edit line 34 of r/tasks/verb.js.

verb.options = _.extend(verb.options || {}, options);

Changed to...

verb.options = _.extend(verb.options || {}, options, grunt.config('verb'));

Resolved the problem.

I'm being lazy. I should resolve and issue a PR.

jwtd avatar Jan 04 '15 06:01 jwtd

Thanks again! since I refactored verb, I haven't had a chance to update this plugin. This is the motivation I needed.

I'm being lazy. I should resolve and issue a PR.

Ha, no worries. I'm happy you bothered to create an issue about it!

jonschlinkert avatar Jan 04 '15 07:01 jonschlinkert