mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-24 17:15:50 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -24,7 +24,10 @@ function loadPending(): Record<string, PendingEntry> {
|
||||
const path = pendingPath()
|
||||
if (!existsSync(path)) return {}
|
||||
try {
|
||||
return JSON.parse(readFileSync(path, 'utf-8')) as Record<string, PendingEntry>
|
||||
return JSON.parse(readFileSync(path, 'utf-8')) as Record<
|
||||
string,
|
||||
PendingEntry
|
||||
>
|
||||
} catch {
|
||||
return {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user