We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ce2b8b commit bc9905cCopy full SHA for bc9905c
lib/grunt/task.js
@@ -281,7 +281,7 @@ task.renameTask = function(oldname, newname) {
281
// If a property wasn't passed, run all task targets in turn.
282
task.runAllTargets = function(taskname, args) {
283
// Get an array of sub-property keys under the given config object.
284
- var targets = Object.keys(grunt.config(taskname) || {});
+ var targets = Object.keys(grunt.config.getRaw(taskname) || {});
285
// Fail if there are no actual properties to iterate over.
286
if (targets.length === 0) {
287
grunt.log.error('No "' + taskname + '" targets found.');
0 commit comments