fix: 补齐证据哈希与 runner 安装脚本边界
CI / Static checks (push) Successful in 5m44s
CI / Production build (push) Successful in 5m34s
CI / API integration (push) Successful in 3m44s

This commit is contained in:
que01 committed 2026-10-21 14:43:16 +08:00
1 parent 1001c43af6
commit 040504774d
4 files changed
+10 -5

No files matched your search

+1
View File
@@ -461,6 +461,7 @@ export function sourceTreeHash(root, options = {}) {
.split("\0")
.filter((file) => file && isEvidenceSourcePath(file))
.map((file) => path.join(rootPath, file));
if (!staged) files = files.filter((file) => fs.existsSync(file) && fs.statSync(file).isFile());
readContent = staged
? (file) =>
execFileSync("git", ["show", ":" + path.relative(rootPath, file)], {