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