From 975e0fadaac292b85a6bdb44eb09c7ad5163c8ff Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 22 Sep 2000 02:37:13 +0000 Subject: matz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/find.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/find.rb') 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 -- cgit v1.2.3