提交 6ac2655e 编写于 作者: G Godfrey Chan

Merge pull request #13983 from hsbt/remove-warning

use File.exist? instead of File.exists?
......@@ -144,7 +144,7 @@ def with_static_file(file)
yield file
ensure
File.delete(path) if File.exists? path
File.delete(path) if File.exist? path
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册