change routes
This commit is contained in:
parent
f0f1543a03
commit
b1b291cc16
|
|
@ -21,7 +21,7 @@ export function runtimeCheckLogs(folderPath) {
|
|||
const stats = fs.statSync(filePath);
|
||||
|
||||
//scan file today
|
||||
if (dateNow !== moment(stats.mtime).format("YYYY/MM/DD")) {
|
||||
if (dateNow !== moment(stats.mtime).format("YYYY/MM/DD") || file.search("log.")!==-1) {
|
||||
fileList = fileList.filter((i) => i !== file);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue