From 71282f70189e0d64dad69c4f4e4048eb5357b2ec Mon Sep 17 00:00:00 2001 From: Jeff Walter Date: Mon, 17 Sep 2012 04:32:54 -0400 Subject: [PATCH] Support for an expanded compass --require arg --- cli/tasks/compass.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cli/tasks/compass.js b/cli/tasks/compass.js index cb6a6c00..2b10e0ce 100644 --- a/cli/tasks/compass.js +++ b/cli/tasks/compass.js @@ -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;