Skip to content

Commit

Permalink
Fix for multiple expanded feature files.
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Mar 17, 2013
1 parent cc0408c commit 39bcf1f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tasks/cucumber-js-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ module.exports = function (grunt) {
}
};

var files = this.filesSrc.join(' ');
var files = this.filesSrc;


var execOptions = ['node', 'node_modules/.bin/cucumber-js'];

if (! _.isEmpty(files)) {
execOptions.push(files);
execOptions = execOptions.concat(files);
}

if (! _.isEmpty(steps)) {
Expand Down

0 comments on commit 39bcf1f

Please sign in to comment.