aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/find.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/find.rb b/lib/find.rb
index c5fd35b1d7..46e2512b9e 100644
--- a/lib/find.rb
+++ b/lib/find.rb
@@ -35,7 +35,7 @@ module Find
# See the +Find+ module documentation for an example.
#
def find(*paths, ignore_error: true) # :yield: path
- block_given? or return enum_for(__method__, *paths)
+ block_given? or return enum_for(__method__, *paths, ignore_error: ignore_error)
fs_encoding = Encoding.find("filesystem")