lib/cknife/config.rb in cknife-1.4.2 vs lib/cknife/config.rb in cknife-1.4.3
- old
+ new
@@ -20,10 +20,10 @@
config_file = nil
Pathname.new(Dir.getwd).tap do |here|
config_file = [["cknife.yml"], ["tmp", "cknife.yml"]].map { |args|
here.join(*args)
}.select { |path|
- File.exists?(path)
+ File.file?(path)
}.first
end
if config_file
begin