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 f97cc1b836..458cb84608 100644 --- a/lib/find.rb +++ b/lib/find.rb @@ -15,7 +15,7 @@ # # Find.find(ENV["HOME"]) do |path| # if FileTest.directory?(path) -# if File.basename(path)[0] == ?. +# if File.basename(path).start_with?('.') # Find.prune # Don't look any further into this directory. # else # next |