mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 13:06:38 +00:00
fix(plan): resolve issue loading build plan with Ruby 3.x
This commit is contained in:
@@ -181,7 +181,7 @@ class Build
|
||||
|
||||
def load_plan(filename)
|
||||
debug "Loading plan from: #{filename}"
|
||||
plan = YAML.safe_load(File.read(filename), [:Time])
|
||||
plan = YAML.safe_load(File.read(filename), permitted_classes: [:Time])
|
||||
|
||||
@ref = plan.dig('source', 'ref')
|
||||
@meta = {
|
||||
|
||||
Reference in New Issue
Block a user