FIX: Don't throw errors on duplicate keys in Yaml (PR #15100)

We shouldn’t have them, but they shouldn’t break a build either.

GitHub

Can’t find the docs on that option, what does it do? :smiley:

Basically waht my description says :slight_smile:

json (default: false) - compatibility with JSON.parse behaviour. If true, then duplicate keys in a mapping will override values rather than throwing an error.

Also, can we use safe_load here? To be… safe :stuck_out_tongue:

lmao, nevermind both comments, I’ve been looking at ruby docs :joy: