From fc01f863d3718272df965121d067665636e024b2 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 18 Feb 2020 08:24:10 +0800 Subject: [PATCH] MDL-67953 grunt: Spawn new process for gherkinlint Gherkinlint stores the list of processed features for duplicate detection in an Object which is statically defined. This causes it to bleed between runs. To alleviate this we must spawn a new process. Prior to this patchset we were calling a new Gherkinlint process which had the same effect anyway. --- Gruntfile.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 67da180be8f..441073dc511 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -151,6 +151,9 @@ module.exports = function(grunt) { tasks: ['yui'] }, gherkinlint: { + options: { + nospawn: false, + }, files: ['**/tests/behat/*.feature'], tasks: ['gherkinlint'] }