Skip to content

Commit 8074a62

Browse files
committed
File.exists? is deprecated
1 parent ad4f48e commit 8074a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/testingbot/api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def load_config_file
164164
config_file = File.expand_path("#{Dir.home}/.testingbot")
165165
end
166166

167-
if File.exists?(config_file)
167+
if File.exist?(config_file)
168168
str = File.open(config_file) { |f| f.readline }.chomp
169169
return str.split(':')
170170
end

0 commit comments

Comments
 (0)