Commit 922d4049 authored by martin hou's avatar martin hou

fix: 删除无用日志输出

parent bae5f81b
...@@ -998,7 +998,7 @@ Jensen.prototype.listFiles = async function () { ...@@ -998,7 +998,7 @@ Jensen.prototype.listFiles = async function () {
} }
// "2025Sep24-180808-Call01.hda" // "2025Sep24-180808-Call01.hda"
mode = fname.join('').replace(/^(\w{9})-(\d{6})-(.+?)\d+\.\w+$/gi, '$3').toUpperCase(); mode = fname.join('').replace(/^(\w{9})-(\d{6})-(.+?)\d+\.\w+$/gi, '$3').toUpperCase();
console.log('mode:', fname.join(''), mode); // console.log('mode:', fname.join(''), mode);
if (mode == 'WHSP' || mode == 'WIP') mode = 'whisper'; if (mode == 'WHSP' || mode == 'WIP') mode = 'whisper';
else if (mode == 'ROOM') mode = 'room'; else if (mode == 'ROOM') mode = 'room';
else if (mode == 'CALL') mode = 'call'; else if (mode == 'CALL') mode = 'call';
...@@ -1045,7 +1045,7 @@ Jensen.prototype.listFiles = async function () { ...@@ -1045,7 +1045,7 @@ Jensen.prototype.listFiles = async function () {
if ((fc && files.length >= fc.count) || (fcount > -1 && files.length >= fcount)) { if ((fc && files.length >= fc.count) || (fcount > -1 && files.length >= fcount)) {
// delete jensen[tag]; // delete jensen[tag];
jensen[tag] = null; jensen[tag] = null;
console.log('original file list:', files); // console.log('original file list:', files);
return files.filter((f) => { return files.filter((f) => {
return Boolean(f.time); return Boolean(f.time);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment