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