thesimj / envyaml

Simple YAML configuration file parser
MIT License
78 stars 21 forks source link

Parsing fails with inline list #9

Closed tonsV2 closed 3 years ago

tonsV2 commented 3 years ago

I had the below structure in a config file and the parsing

mail:
    to: [ $HANDLERS_SMTP_TO ]

I get the following error ValueError: Strict mode enabled, variable $SMTP_HANDLER_TO] not defined!

The below works just fine though

mail:
    to:
        - $HANDLERS_SMTP_TO
thesimj commented 3 years ago

Thanks you, good findings. fix will be soon.