Skip to content

Commit f2b7e1a

Browse files
authored
Merge pull request #77 from tmm1/replace-file_exists
Replace obsolete File.exists? with File exist?
2 parents 05a5f2c + 60d5228 commit f2b7e1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/compile.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUBY_VERSION =~ /(\\d+.\\d+)/
3434
require "\#{$1}/ruby_http_parser"
3535
eoruby
3636
end
37-
at_exit{ FileUtils.rm t.name if File.exists?(t.name) }
37+
at_exit{ FileUtils.rm t.name if File.exist?(t.name) }
3838
end
3939

4040
if Rake::Task.task_defined?(:cross)

0 commit comments

Comments
 (0)