Skip to content

Commit

Permalink
Merge pull request #1103 from kateinoigakukun/fix/bib-path
Browse files Browse the repository at this point in the history
Fix to read bib file from contentdir
  • Loading branch information
kmuto authored Aug 30, 2018
2 parents 9849817 + 5566e7e commit f3ff466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/review/book/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,11 @@ def part_exist?
end

def read_bib
File.read(File.join(@basedir, bib_file))
File.read(File.join(contentdir, bib_file))
end

def bib_exist?
File.exist?(File.join(@basedir, bib_file))
File.exist?(File.join(contentdir, bib_file))
end

def prefaces
Expand Down

0 comments on commit f3ff466

Please sign in to comment.