Thanks for the catch. I've fixed that and squashed the commits to 1. That
was my first time doing a squash on a pull request. :)

It should be good to go.

Thanks for your help!


On Fri, Mar 28, 2014 at 8:52 AM, Bertrand Marron
<notifications@github.com>wrote:

> In tasks/subgrunt.js:
>
> > @@ -50,7 +50,7 @@ module.exports = function (grunt) {
> >      };
> >
> >      var runGruntTasks = function (path, tasks, options, next) {
> > -        var args = grunt.option.flags().concat(tasks);
> > +        var args = options.gruntFlags ? grunt.option.flags().concat(tasks) : tasks;
>
> gruntFlags => passGruntFlags :)
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/tusbar/grunt-subgrunt/pull/4/files#r11066413>
> .
>