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 513c969 commit ff663f3
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.safe_load_file("../../_chapters/#{chapter_name}.md", permitted_classes: [Time])
chapter_front_matter = YAML.unsafe_load_file("../../_chapters/#{chapter_name}.md")

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

0 comments on commit ff663f3

Please sign in to comment.