From a07afffcce64eb684a6c4932618f1f55384ff856 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Tue, 22 Dec 2015 18:34:25 +0000 Subject: [PATCH] MDL-52591 grunt: make shifter task respect --no-color --- Gruntfile.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index dcc22a8f34f..665bb442199 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -114,6 +114,10 @@ module.exports = function(grunt) { args.push('--lint-stderr'); } + if (grunt.option('no-color')) { + args.push('--color=false'); + } + var execShifter = function() { shifter = exec("node", args, { -- 2.43.0