microsoft / DSCParser

Allows the conversion of DSC scripts into PSObject for analysis purposes
MIT License
29 stars 19 forks source link

Fixed issue where strings are split on spaces instead of comma, when schema lists property as an array. #48

Closed ykuijs closed 4 months ago

ykuijs commented 4 months ago

The current code was always splitting strings on spaces whenever the schema listed the property as a stringarray. This meant that all strings, even actual string arrays, were always split on spaces.

Updated the code to split on comma, which not makes sure multi values are correctly split.