Last analyzed ca19271 3 days ago
Default analysis branch is
Currently analyzing run
Should not have unused variables JS-0128
Bug risk
2 months ago7 months old
'filterPost' is defined but never used. Allowed unused vars must match /^_/u
48 * @param  {string} text               text to filter/format
49 * @return {string}      html that represents the filtered text
50 */
51function filterPost(text){52  text = unemojify(text)
53  let result = htmlesc(text).replace(allregex, function (match) {
54    let out = match
'filterReply' is defined but never used. Allowed unused vars must match /^_/u
78 * @param  {string} text               text to filter/format
79 * @return {string}      html that represents the filtered text
80 */
81function filterReply(text) {82  text = htmlesc(text)
83  text = newlineify(text)
84  text = urlify(text)
'server' is defined but never used. Allowed unused args must match /^_/u
30    }
31}
32
33export const setup = function (router, con, server) {34    router.get("/api/getFileIcon/*",async function(req,res){
35        let path = req.path.split("/api/getFileIcon/")[1]
36        if(path.length > 4) {
'con' is defined but never used. Allowed unused args must match /^_/u
30    }
31}
32
33export const setup = function (router, con, server) {34    router.get("/api/getFileIcon/*",async function(req,res){
35        let path = req.path.split("/api/getFileIcon/")[1]
36        if(path.length > 4) {
'extend' is defined but never used. Allowed unused vars must match /^_/u
12    return ret;
13}
14
15function extend(key,len) {16    let temp = []
17    let out = []
18