We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 434457b + 75e56fb commit 610c6ffCopy full SHA for 610c6ff
lib/orchestrator_client/config.rb
@@ -44,13 +44,13 @@ def defaults
44
def load_config
45
config = defaults
46
if @load_files
47
- if File.exists?(global_conf) && File.readable?(global_conf)
+ if File.exist?(global_conf) && File.readable?(global_conf)
48
config = config.merge(load_file(global_conf))
49
end
50
51
if @overrides['config-file']
52
config = config.merge(load_file(@overrides['config-file']))
53
- elsif File.exists?(user_conf) && File.readable?(user_conf)
+ elsif File.exist?(user_conf) && File.readable?(user_conf)
54
config = config.merge(load_file(user_conf))
55
56
0 commit comments