plist-yaml-plist
plist-yaml-plist copied to clipboard
Converting .plist file to .yaml does not properly quote numeric values defined as a string
Would require https://github.com/grahampugh/plist-yaml-plist/pull/5.
Currently, numeric values aren't quoted when the XML defines the value as a string
Example excerpt:
<key>MinimumVersion</key>
<string>1.0.0</string>
Example result:
MinimumVersion: 1.0.0
I would expect this to be converted to:
MinimumVersion: '1.0.0'
or
MinimumVersion: "1.0.0"
@grahampugh I've also seen this and found that the Autopkg recipes will not run unless they're quoted
Weird, I haven't seen that issue, but please remember that all YAML-based recipes should be minimum version of "2.3"
(which should get quoted automatically).
Ahhh, that must be it. The recipes were older versions when converted initially. Then I modified the to min version to 2.3 when I started tweaking things