From 1b6196151858e15021fd63062b38ff154aaf2682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isabella=20Sko=C5=99epov=C3=A1?= Date: Sat, 8 Aug 2020 01:51:36 +0200 Subject: [PATCH] prettier --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 95efb8b..dfdde51 100644 --- a/src/index.ts +++ b/src/index.ts @@ -46,7 +46,7 @@ function checkOptions({ if (!(key in merged)) throw new Error(`Missing option ${key}`) if (config[key] === 'string[]') { // is not array or something is string - if (!Array.isArray(value) || value.some(v => typeof v !== 'string')) { + if (!Array.isArray(value) || value.some((v) => typeof v !== 'string')) { throw new Error(`Value of option ${key} should be array of strings`) } } else if (config[key] === 'string') {