Skip to content

Commit e18bb62

Browse files
hsbtclaude
andcommitted
Build full path for HOME stat snapshot
Dir.each_child yields entry names, so stat/digest/children ran against the working directory instead of HOME. Join dir and name first. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 0c47998 commit e18bb62

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/tarball-ubuntu.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ jobs:
7777
[
7878
Dir.home,
7979
].each do |dir|
80-
Dir.each_child(dir) do |pn|
80+
Dir.each_child(dir) do |name|
81+
pn = File.join(dir, name)
8182
st = File.stat(pn)
8283
if st.file?
8384
content = Digest::SHA1.file(pn).hexdigest

0 commit comments

Comments
 (0)