mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-10-26 16:55:08 +00:00
fix(ci): allow larger tracked-file listings in static gates
This commit is contained in:
1 parent
86c39abae0
commit
7f2f9b8856
2 files changed
+2
-2
No files matched your search
@@ -50,7 +50,7 @@ export function findConcreteTermViolations(file: string, source: string): Concre
|
||||
}
|
||||
|
||||
function trackedFiles(repoRoot: string): string[] {
|
||||
const files = execFileSync('git', ['ls-files', '-z'], { cwd: repoRoot, encoding: 'utf8' })
|
||||
const files = execFileSync('git', ['ls-files', '-z'], { cwd: repoRoot, encoding: 'utf8', maxBuffer: 16 * 1024 * 1024 })
|
||||
.split('\0')
|
||||
.filter(file => file !== '')
|
||||
if (!files.includes('AGENTS.md')
|
||||
|
||||
@@ -66,7 +66,7 @@ export function findUnavailableRepositoryReferences(file: string, source: string
|
||||
}
|
||||
|
||||
function trackedFiles(repoRoot: string): string[] {
|
||||
return execFileSync('git', ['ls-files', '-z'], { cwd: repoRoot, encoding: 'utf8' })
|
||||
return execFileSync('git', ['ls-files', '-z'], { cwd: repoRoot, encoding: 'utf8', maxBuffer: 16 * 1024 * 1024 })
|
||||
.split('\0')
|
||||
.filter(file => file !== '')
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user