Skip to content

Commit

Permalink
Fix to read bib file from contentdir
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Aug 29, 2018
1 parent 16064bf commit 5566e7e
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 5566e7e

Please sign in to comment.