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

@@ -224,7 +224,8 @@ async function executeBYOCPersistence(
} else {
failedFiles.push({
filename: result.path,
error: (result as { path: string; error: string; success: false }).error,
error: (result as { path: string; error: string; success: false })
.error,
})
}
}

View File

@@ -66,10 +66,10 @@ export async function findModifiedFiles(
// Use recursive flag to get all entries in one call
let entries: Awaited<ReturnType<typeof fs.readdir>> | any[]
try {
entries = await fs.readdir(outputsDir, {
entries = (await fs.readdir(outputsDir, {
withFileTypes: true,
recursive: true,
}) as any[]
})) as any[]
} catch {
// Directory doesn't exist or is not accessible
return []

View File

@@ -1,5 +1,5 @@
export const FILE_COUNT_LIMIT = 10000
export const OUTPUTS_SUBDIR = ".claude-code/outputs"
export const OUTPUTS_SUBDIR = '.claude-code/outputs'
export const DEFAULT_UPLOAD_CONCURRENCY = 5
export interface FailedPersistence {