Fix cask/upgrade_spec failure

This commit is contained in:
Douglas Eichelberger 2025-09-07 08:03:35 -07:00
parent 3116f3de2a
commit 7afdcc39bd
No known key found for this signature in database
GPG Key ID: F90193CBD547EB81

View File

@ -68,7 +68,7 @@ module Cask
sig { params(json: String, ignore_invalid_keys: T::Boolean).returns(T.attached_class) }
def self.from_json(json, ignore_invalid_keys: false)
config = JSON.parse(json)
config = JSON.parse(json, symbolize_names: true)
new(
default: config.fetch("default", {}),