Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Co-authored-by: Milap Sheth <[email protected]>
  • Loading branch information
jcs47 and milapsheth authored Aug 27, 2024
1 parent 23f1025 commit f126969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f126969

Please sign in to comment.