style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -230,7 +230,7 @@ export async function getErrorLogByIndex(
async function loadLogList(path: string): Promise<LogOption[]> {
let files: Awaited<ReturnType<typeof readdir>>
try {
files = await readdir(path, { withFileTypes: true }) as any
files = (await readdir(path, { withFileTypes: true })) as any
} catch {
logError(new Error(`No logs found at ${path}`))
return []