From 540ea9e2fec81e435d49ae687e897e35aeba08dc Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Mon, 9 Jan 2017 16:54:21 -0800 Subject: [PATCH] Replaced chalk.color.red with chalk.red --- scripts/release-manager/commands/version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release-manager/commands/version.js b/scripts/release-manager/commands/version.js index f21e1c600e2b1..6349fa35b9ea2 100644 --- a/scripts/release-manager/commands/version.js +++ b/scripts/release-manager/commands/version.js @@ -29,7 +29,7 @@ function updateJSON(path, fields, value) { try { data = JSON.parse(fs.readFileSync(path, 'utf8')); } catch (e) { - this.log(chalk.color.red('ERROR') + ` ${path} doesn't exist… skipping.`); + this.log(chalk.red('ERROR') + ` ${path} doesn't exist… skipping.`); } fields.forEach((field) => { let fieldPath = field.split('.');