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.
This commit is contained in:
Andrew Nicols
2020-02-18 08:24:13 +08:00
parent 9ff79ab562
commit fc01f863d3
+3
View File
@@ -151,6 +151,9 @@ module.exports = function(grunt) {
tasks: ['yui']
},
gherkinlint: {
options: {
nospawn: false,
},
files: ['**/tests/behat/*.feature'],
tasks: ['gherkinlint']
}