mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
use File.exist? instead of File.exists?
This commit is contained in:
parent
76af5c1d30
commit
a09c07890a
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ module StaticTests
|
|||
|
||||
yield file
|
||||
ensure
|
||||
File.delete(path) if File.exists? path
|
||||
File.delete(path) if File.exist? path
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue