Skip to content

Commit

Permalink
Merge pull request #483 from jeffinmotion/compassconfig
Browse files Browse the repository at this point in the history
Support for an expanded compass --require arg
  • Loading branch information
sindresorhus committed Sep 17, 2012
2 parents 3070183 + 71282f7 commit 17e332e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cli/tasks/compass.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ module.exports = function( grunt ) {
if ( _.isString( val ) ) {
args.push( '--' + el, val );
}

if( _.isArray( val ) ) {
val.forEach(function( subval ) {
args.push( '--' + el, subval );
});
}
});

return args;
Expand Down

0 comments on commit 17e332e

Please sign in to comment.