Skip to content

Commit

Permalink
exists? has been deprecated in ruby
Browse files Browse the repository at this point in the history
Replace File.exists? by File.exist?
  • Loading branch information
pablooliveira authored Oct 4, 2024
1 parent a114a44 commit 1c8c79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bibjekyll.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def render(context)

# Fix back links in the html formatted bib file
# generated by bibtex2html
if File.exists?(bibhtml)
if File.exist?(bibhtml)
# Read html formatted bib file
content_bibhtml = IO.read(bibhtml)
# determine the name of the file we are generating
Expand Down

0 comments on commit 1c8c79d

Please sign in to comment.