From 5508259457db340bc528ab720eae598028ae2fee Mon Sep 17 00:00:00 2001 From: Kevin Martensson Date: Sun, 23 Jul 2017 22:08:29 +0200 Subject: [PATCH] Remove moot length check --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cbd9b84..87300fc 100644 --- a/index.js +++ b/index.js @@ -152,7 +152,7 @@ function applyStyle() { // Support varags, but simply cast to string in case there's only one arg const args = arguments; const argsLen = args.length; - let str = argsLen !== 0 && String(arguments[0]); + let str = String(arguments[0]); if (argsLen === 0) { return '';