mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
9d8c53cf31
As detected in #2036, it is not possible to extract values from a YAML file if the key is a symbol. This change refactors ObjectTraverser to support symbol keys before attempting to stringify them. Signed-off-by: Adam Leff <adam@leff.co>
10 lines
127 B
YAML
10 lines
127 B
YAML
name: vagrant
|
|
driver:
|
|
customize:
|
|
memory: 1024
|
|
platforms:
|
|
- linux
|
|
- mac
|
|
:symbol_key: 123
|
|
:symbol_key_deep:
|
|
foo: bar
|