From 58923606e4f4c1bdfacdda698e2d4fe490963ccf Mon Sep 17 00:00:00 2001 From: Mark Nielsen Date: Fri, 2 Jun 2017 09:27:48 -0700 Subject: [PATCH] MDL-59091 behat: Properly propagate gherkinlint exit code --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 4cb9e9ebbd9..5f2302e4562 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -338,7 +338,7 @@ module.exports = function(grunt) { opts: {stdio: 'inherit', env: process.env} }, function(error, result, code) { // Propagate the exit code. - done(code); + done(code === 0); }); };