PoshCode / Configuration

A module to help other modules have settings
MIT License
176 stars 27 forks source link

Configuration keys start with an int break manifest import #36

Closed scrthq closed 3 years ago

scrthq commented 4 years ago

Following up on https://github.com/scrthq/PSProfile/issues/28

It looks like PowerShell doesn't like dictionary keys that start with an int and are not wrapped in quotes, resulting in the parser breaking when attempting to import metadata containing keys like this. Sample to replicate:

@{1BadKey = 'Value'}

image

Digging into this and sending over a PR asap!