Skip to content

Commit

Permalink
updating ebook script
Browse files Browse the repository at this point in the history
  • Loading branch information
jayair committed Jan 2, 2025
1 parent ff663f3 commit 66b19fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/ebook/build-pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def build_chapter chapter_data

# Update for Ruby 3.2
# chapter_front_matter = YAML.load_file("../../_chapters/#{chapter_name}.md")
chapter_front_matter = YAML.unsafe_load_file("../../_chapters/#{chapter_name}.md")
chapter_front_matter = YAML::load(File.read("../../_chapters/#{chapter_name}.md"))

#################
# Validations
Expand Down

0 comments on commit 66b19fd

Please sign in to comment.