@@ -4764,8 +4764,8 @@ var startElxr = function() { | |||
} | |||
else collect.push(matches[1]) | |||
} | |||
}, `${selectedinstance.root}/.elxr` ) | |||
return Promise.resolve(collect); | |||
}, `${selectedinstance.root}/.elxr` ) | |||
.then(()=>{ | |||
// delete garbage | |||
if(collect.length > retaincount) { | |||
@@ -4778,6 +4778,9 @@ var startElxr = function() { | |||
} | |||
else return true | |||
}) | |||
.catch(e => { | |||
console.error | |||
}) | |||
} | |||
neTask.statuslog = statuslog | |||