fix: Resolves the issue of inconsistent hash calculations between runner and workflow files. (#316)
CodeQL / Analyze (javascript) (push) Has been cancelled

This commit is contained in:
tfhddd
2026-02-14 05:47:15 +08:00
committed by GitHub
parent d21e5b430e
commit 6ecda1d8ea
+1 -1
View File
@@ -301,5 +301,5 @@ export async function sleep(ms: number): Promise<void> {
}
export function listDirAllCommand(dir: string): string {
return `cd ${shlex.quote(dir)} && find . -not -path '*/_runner_hook_responses*' -exec stat -c '%s %n' {} \\;`
return `cd ${shlex.quote(dir)} && find . -type f -not -path '*/_runner_hook_responses*' -exec stat -c '%s %n' {} \\;`
}