diff options
Diffstat (limited to 'lib/find.rb')
-rw-r--r-- | lib/find.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/find.rb b/lib/find.rb index a8dcea4f71..e79756a918 100644 --- a/lib/find.rb +++ b/lib/find.rb @@ -12,7 +12,7 @@ module Find while file = path.shift catch(:prune) { yield file - if File.lstat(file).directory? then + if File.lstat(file).directory? then d = Dir.open(file) begin for f in d |