From f126969adf5db9dec85212ce8545d230c7db198b Mon Sep 17 00:00:00 2001 From: jcs47 <11947034+jcs47@users.noreply.github.com> Date: Tue, 27 Aug 2024 20:51:56 +0100 Subject: [PATCH] fix Co-authored-by: Milap Sheth --- common/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/utils.js b/common/utils.js index e4ab84de..322e93f6 100644 --- a/common/utils.js +++ b/common/utils.js @@ -66,7 +66,7 @@ const isNonEmptyString = (arg) => { }; const isStringLowercase = (arg) => { - return isString(arg) && arg === arg.toLowerCase(); + return isNonEmptyString(arg) && arg === arg.toLowerCase(); }; const isStringArray = (arr) => Array.isArray(arr) && arr.every(isString);