update File.exists? calls to File.exist?

This commit is contained in:
Jason Barnett
2024-05-21 09:45:50 -06:00
parent 75bbe11ccf
commit d3b03b940a
4 changed files with 13 additions and 13 deletions

View File

@@ -32,12 +32,12 @@ module Vundle
private
def self.contains_vundle?(vundle_name)
FileUtils.touch(@vundles_path) unless File.exists? @vundles_path
FileUtils.touch(@vundles_path) unless File.exist? @vundles_path
File.read(@vundles_path).include?(vundle_name)
end
def self.vundles_from_file
FileUtils.touch(@vundles_path) unless File.exists? @vundles_path
FileUtils.touch(@vundles_path) unless File.exist? @vundles_path
File.read(@vundles_path).split("\n")
end