lib/eco/cli/scripting/args_helpers.rb in eco-helpers-2.5.10 vs lib/eco/cli/scripting/args_helpers.rb in eco-helpers-2.6.0
- old
+ new
@@ -86,10 +86,10 @@
end
private
def file_exists?(filename)
- File.exists?(filename) || File.exists?(File.expand_path(filename))
+ File.exist?(filename) || File.exist?(File.expand_path(filename))
end
end
end
end
end