Skip to content

Commit 09a7c83

Browse files
committed
Pass empty string instead of nil for starting directory entry.
1 parent 6710793 commit 09a7c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ruby/truffleruby/core/dir_glob.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def process_directory(matches, parent, entry, glob_base_dir)
181181
switched = @next.dup
182182
switched.separator = @separator
183183
else
184-
@next.process_entry entry, true, matches, parent, glob_base_dir if glob_base_dir
184+
@next.process_entry '', true, matches, parent, glob_base_dir if glob_base_dir
185185
end
186186

187187
stack = [nil]

0 commit comments

Comments
 (0)