From dde728719284a1701e69709fbf586d0a28a83f93 Mon Sep 17 00:00:00 2001 From: Joshua Appelman Date: Wed, 1 Jul 2015 01:59:40 +0200 Subject: [PATCH] Removes needless "|| ''". --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b4a8488..96f0ccb 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ function Chalk(options) { } // use bright blue on Windows as the normal blue color is illegible -if (process.platform === 'win32' && !/^xterm/i.test(process.env.TERM || '')) { +if (process.platform === 'win32' && !/^xterm/i.test(process.env.TERM)) { ansiStyles.blue.open = '\u001b[94m'; }