mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
Update backend/src/templateFormatter.ts
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
e8a3270cd1
commit
6a8a9a1e54
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ const baseValues = {
|
|||
},
|
||||
strlen(arg) {
|
||||
if (typeof arg !== "string") return 0;
|
||||
return arg.length;
|
||||
return [...arg].length;
|
||||
},
|
||||
rand(from, to, seed = null) {
|
||||
if (isNaN(from)) return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue