From 2451677995ab2025732ef7a3f3f29422f68545e1 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sat, 6 Jun 2020 15:33:24 +0800 Subject: [PATCH] Update index.js --- source/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.js b/source/index.js index 1486dc3..93a0b64 100644 --- a/source/index.js +++ b/source/index.js @@ -135,7 +135,7 @@ const createStyler = (open, close, parent) => { const createBuilder = (self, _styler, _isEmpty) => { const builder = (...arguments_) => { if (Array.isArray(arguments_[0])) { - // Called as a template literal, e.g. chalk.red`2 + 3 = {bold ${2+3}}` + // Called as a template literal, for example: chalk.red`2 + 3 = {bold ${2+3}}` return applyStyle(builder, chalkTag(builder, ...arguments_)); }