Skip to content

Commit

Permalink
Replaced chalk.color.red with chalk.red
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn authored and bvaughn committed Jan 10, 2017
1 parent 280bcfa commit 540ea9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release-manager/commands/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('.');
Expand Down

0 comments on commit 540ea9e

Please sign in to comment.