Skip to content

Commit 6ecda1d

Browse files
authored
fix: Resolves the issue of inconsistent hash calculations between runner and workflow files. (#316)
1 parent d21e5b4 commit 6ecda1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/k8s/src/k8s/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,5 +301,5 @@ export async function sleep(ms: number): Promise<void> {
301301
}
302302

303303
export function listDirAllCommand(dir: string): string {
304-
return `cd ${shlex.quote(dir)} && find . -not -path '*/_runner_hook_responses*' -exec stat -c '%s %n' {} \\;`
304+
return `cd ${shlex.quote(dir)} && find . -type f -not -path '*/_runner_hook_responses*' -exec stat -c '%s %n' {} \\;`
305305
}

0 commit comments

Comments
 (0)