From 921faaa940d7135a31f3dbfea89bb2e9a023004b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 10 May 2022 07:52:28 +0200 Subject: [PATCH] File.exists? is deprecated --- lib/dav4rack/remote_file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dav4rack/remote_file.rb b/lib/dav4rack/remote_file.rb index 3e3a329f..4196515d 100644 --- a/lib/dav4rack/remote_file.rb +++ b/lib/dav4rack/remote_file.rb @@ -28,7 +28,7 @@ module Dav4rack @heads = {} @cache_file = args[:cache_directory] ? cache_file_path : nil @redefine_prefix = nil - if(@cache_file && File.exists?(@cache_file)) + if(@cache_file && File.exist?(@cache_file)) @root = '' @path_info = @cache_file @path = @path_info