Skip to content

Commit

Permalink
Fixes incorrect string concatenation in example.
Browse files Browse the repository at this point in the history
Issue got introduced in 299f7d1 when removing console.log from the examples to shorten them.
  • Loading branch information
Joshua Appelman committed Dec 28, 2014
1 parent 847d932 commit 7bbfbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var chalk = require('chalk');
chalk.blue('Hello world!');

// combine styled and normal strings
chalk.blue('Hello'), 'World' + chalk.red('!');
chalk.blue('Hello') + 'World' + chalk.red('!');

// compose multiple styles using the chainable API
chalk.blue.bgRed.bold('Hello world!');
Expand Down

0 comments on commit 7bbfbd3

Please sign in to comment.