From 14bf8aa164d34249cd08c70656e34d286f0e61d6 Mon Sep 17 00:00:00 2001 From: Eren Date: Thu, 26 Jan 2023 23:21:27 +0300 Subject: [PATCH] fixed deprecated code --- lib/tco/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tco/config.rb b/lib/tco/config.rb index e33f6a0..d537115 100644 --- a/lib/tco/config.rb +++ b/lib/tco/config.rb @@ -57,7 +57,7 @@ def initialize(locations=[]) locations.each do |conf_file| conf_file = File.expand_path conf_file - next unless File.exists? conf_file + next unless File.exist? conf_file load conf_file end end