@samitouri / QOS-React-2 / commits / 540ea9e2fe

Replaced chalk.color.red with chalk.red

Brian Vaughn committed Jan 9, 2017 at 16:54 UTC 540ea9e2fec81e435d49ae687e897e35aeba08dc
1 file changed +1 -1
scripts/release-manager/commands/version.js
+1 -1
@@ -29,7 +29,7 @@ function updateJSON(path, fields, value) {
29 try {
30 data = JSON.parse(fs.readFileSync(path, 'utf8'));
31 } catch (e) {
32 - this.log(chalk.color.red('ERROR') + ` ${path} doesn't exist… skipping.`);
32 + this.log(chalk.red('ERROR') + ` ${path} doesn't exist… skipping.`);
33 }
34 fields.forEach((field) => {
35 let fieldPath = field.split('.');