Replace `File.exists?` with `File.exist?`
This commit is contained in:
parent
a0cb475a54
commit
7d49b11a86
|
@ -29,7 +29,7 @@ RUBY
|
|||
end
|
||||
|
||||
def model_exists?
|
||||
File.exists?(File.join(destination_root, model_path))
|
||||
File.exist?(File.join(destination_root, model_path))
|
||||
end
|
||||
|
||||
def model_path
|
||||
|
|
Loading…
Reference in New Issue