Commit 9b1ed0a4 authored by martin hou's avatar martin hou

fix: 修正文件列表查询的数量错误

parent 4f482a1f
......@@ -706,10 +706,10 @@ Jensen.prototype.listFiles = async function () {
let fc = null;
fc = await this.getFileCount(5);
// if (fc == null) return [];
if (fc == null) return [];
if (fc && fc.count == 0) return [];
console.log('file count: ' + fc);
else fc = fc.count;
Logger.info('jensen', 'cmd', 'file count: ' + fc);
let self = this;
// let tag = 'data_' + new Date().getTime();
......
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