Skip to content

Commit edee7b2

Browse files
m-reuterCopilot
andauthored
Update scripts/validate_yaml.rb
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 93bfa18 commit edee7b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/validate_yaml.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def validate_file(filepath)
88
puts "Validating #{filepath}..."
99

1010
begin
11-
data = YAML.load_file(filepath)
11+
data = YAML.safe_load_file(filepath, permitted_classes: [Date, Time], aliases: true)
1212

1313
# File-specific validations
1414
case File.basename(filepath)

0 commit comments

Comments
 (0)