fix(plan): resolve issue loading build plan with Ruby 3.x

This commit is contained in:
2023-11-15 00:25:40 +00:00
parent bc62c890ed
commit a5347602ca

View File

@@ -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 = {