Use grunt.file.expand to support exclusions. Closes GH-30.
This commit is contained in:
parent
b7e3551895
commit
c36fea1966
@ -102,7 +102,7 @@ module.exports = function(grunt) {
|
||||
target.files = [target.files];
|
||||
}
|
||||
// Get patterns to glob for this target
|
||||
var patterns = grunt.util._.chain(target.files).flatten().uniq().value();
|
||||
var patterns = grunt.file.expand(target.files);
|
||||
|
||||
// Default options per target
|
||||
var options = grunt.util._.defaults(target.options || {}, defaults);
|
||||
|
Loading…
Reference in New Issue
Block a user