mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
fix: crash when the arr argument for concatArr isn't specified
fix: formatting Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
801cd2630b
commit
9386696f4b
1 changed files with 1 additions and 0 deletions
|
@ -346,6 +346,7 @@ const baseValues = {
|
||||||
return [...args].join("");
|
return [...args].join("");
|
||||||
},
|
},
|
||||||
concatArr(arr, separator = "") {
|
concatArr(arr, separator = "") {
|
||||||
|
if (!Array.isArray(arr)) return "";
|
||||||
return arr.join(separator);
|
return arr.join(separator);
|
||||||
},
|
},
|
||||||
eq(...args) {
|
eq(...args) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue