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('.');