} | } | ||||
else collect.push(matches[1]) | else collect.push(matches[1]) | ||||
} | } | ||||
}, `${selectedinstance.root}/.elxr` ) | |||||
return Promise.resolve(collect); | |||||
}, `${selectedinstance.root}/.elxr` ) | |||||
.then(()=>{ | .then(()=>{ | ||||
// delete garbage | // delete garbage | ||||
if(collect.length > retaincount) { | if(collect.length > retaincount) { | ||||
} | } | ||||
else return true | else return true | ||||
}) | }) | ||||
.catch(e => { | |||||
console.error | |||||
}) | |||||
} | } | ||||
neTask.statuslog = statuslog | neTask.statuslog = statuslog | ||||