lib/vim-flavor/flavor.rb in vim-flavor-4.0.1 vs lib/vim-flavor/flavor.rb in vim-flavor-4.0.2
- old
+ new
@@ -19,10 +19,10 @@
# repo_name of a flavor which requires this flavor.
attr_accessor :requirer
# Return true if this flavor's repository is already cloned.
def cached?
- Dir.exists?(cached_repo_path)
+ Dir.exist?(cached_repo_path)
end
def cached_version?(version)
system 'bash', '-c', <<-"END"
{