diff --git a/lib/capistrano/tasks/figaro_yml.rake b/lib/capistrano/tasks/figaro_yml.rake index f87cde4..c9a35e7 100644 --- a/lib/capistrano/tasks/figaro_yml.rake +++ b/lib/capistrano/tasks/figaro_yml.rake @@ -11,7 +11,7 @@ end namespace :figaro_yml do task :check_figaro_file_exists do - next if File.exists?(figaro_yml_local_path) + next if File.exist?(figaro_yml_local_path) check_figaro_file_exists_error exit 1 end