From e5b4ee33996cd7b73be30d79559010a9b9cc722a Mon Sep 17 00:00:00 2001 From: Jaid Date: Sat, 16 Feb 2019 21:51:53 +0100 Subject: [PATCH] Fixed lodash usage Signed-off-by: Jaid --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index e10ed9e..f7c64dc 100644 --- a/src/index.js +++ b/src/index.js @@ -24,7 +24,7 @@ export default (value, ensuredStart) => { } return `${ensuredStart}${value}` } - if (Array.isArray(value, ensuredStart)) { + if (Array.isArray(value)) { if (!Array.isArray(ensuredStart)) { ensuredStart = [ensuredStart] }