Skip to content

Commit

Permalink
added cli overrides for steps, tags and format
Browse files Browse the repository at this point in the history
  • Loading branch information
eclifford committed Dec 13, 2013
1 parent 04a2c27 commit 9209fd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/cucumber-js-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ module.exports = function (grunt) {
// Load all the options
var options = this.options();

var steps = options.steps;
var tags = options.tags;
var format = options.format;
var steps = grunt.option('steps') || options.steps;
var tags = grunt.option('tags') || options.tags;
var format = grunt.option('format') || options.format;
var modulePath = options.modulePath;

grunt.verbose.writeflags(options, 'Options');
Expand Down

0 comments on commit 9209fd7

Please sign in to comment.