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'] } },