Use grunt.file.expand to support exclusions. Closes GH-30.

This commit is contained in:
Jason San Jose 2012-12-21 15:16:42 -08:00 committed by Kyle Robinson Young
parent b7e3551895
commit c36fea1966

View File

@ -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);