From 30dfb6d2d3cbf6328e27598a46c3470c06e0c008 Mon Sep 17 00:00:00 2001 From: Joshua Appelman Date: Sun, 28 Dec 2014 12:33:26 +0100 Subject: [PATCH] Fixes incorrect string concatenation in example. Issue got introduced in 299f7d17 when removing console.log from the examples to shorten them. References #44. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index bcaf381..c454223 100644 --- a/readme.md +++ b/readme.md @@ -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!');