Replace `File.exists?` with `File.exist?`

This commit is contained in:
Katsuhiko YOSHIDA 2022-12-06 18:40:06 +09:00 committed by Anil Kumar Maurya
parent a0cb475a54
commit 7d49b11a86
1 changed files with 1 additions and 1 deletions

View File

@ -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