Skip to content

Commit 66b19fd

Browse files
committed
updating ebook script
1 parent ff663f3 commit 66b19fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/ebook/build-pdf.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def build_chapter chapter_data
8484

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

8989
#################
9090
# Validations

0 commit comments

Comments
 (0)