From ba8a53d030d8233f74af236153134ecd0a118c7a Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 19 Dec 2019 08:27:29 +0800 Subject: [PATCH] MDL-67449 grunt: Refactor gherkinlint --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 1c2d6d9ef7b..dbcf054a312 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -262,7 +262,7 @@ module.exports = function(grunt) { tasks: ['yui'] }, gherkinlint: { - files: ['**/tests/behat/*.feature'], + files: [inComponent ? 'tests/behat/*.feature' : '**/tests/behat/*.feature'], tasks: ['gherkinlint'] } },