mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
fix palm
This commit is contained in:
parent
5c5aba0c48
commit
cd5e9ceb4a
6 changed files with 10 additions and 28 deletions
|
@ -30,8 +30,6 @@ module.exports.timestamp = function(time, flag = "t"){
|
|||
}
|
||||
|
||||
module.exports.stringwrap = function(content = "", length){
|
||||
console.log(content)
|
||||
console.log(length)
|
||||
if(content.length > length) return content.substr(0, length) + '...';
|
||||
return content;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue