修复模块注入

This commit is contained in:
whyour
2025-10-26 22:32:03 +08:00
parent a1f888af59
commit 07951964a1
11 changed files with 50 additions and 92 deletions
+1 -1
View File
@@ -593,7 +593,7 @@ export default class CronService {
files.map(async (x) => ({
filename: x,
directory: relativeDir.replace(config.logPath, ''),
time: (await fs.lstat(`${dir}/${x}`)).mtime.getTime(),
time: (await fs.lstat(`${dir}/${x}`)).birthtimeMs,
})),
)
).sort((a, b) => b.time - a.time);