mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 22:35:51 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -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 []
|
||||
|
||||
Reference in New Issue
Block a user