Skip to content

Commit

Permalink
Replace File.exists? with File.exist?
Browse files Browse the repository at this point in the history
  • Loading branch information
mishina2228 committed Oct 22, 2022
1 parent 5871b93 commit 6fed80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ RDoc::Task.new do |rdoc|
rdoc.rdoc_files.include("bin/*.rb")
rdoc.rdoc_files.include("lib/**/*.rb")
extra_files.each { |file|
rdoc.rdoc_files.include(file) if File.exists?(file)
rdoc.rdoc_files.include(file) if File.exist?(file)
}
end

0 comments on commit 6fed80c

Please sign in to comment.