From 9209fd7a8a950d7a843bd41c8eb0713f850c6d51 Mon Sep 17 00:00:00 2001 From: Eric Clifford Date: Fri, 13 Dec 2013 14:38:47 -0800 Subject: [PATCH] added cli overrides for steps, tags and format --- tasks/cucumber-js-task.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/cucumber-js-task.js b/tasks/cucumber-js-task.js index 45e37a7..e7122f5 100644 --- a/tasks/cucumber-js-task.js +++ b/tasks/cucumber-js-task.js @@ -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');