Skip to content

Conversation

jdrumgoole
Copy link

Currently expandvars()is run on the raw text of the config file prior to yaml parsing. This has the effect of trying to expand variables even in commented out code. With this approach we only expand the variables after the yaml parsing is complete.

… approach expanded variables even if they wqere is comments and so crashed on commented out configs
@jdrumgoole
Copy link
Author

All tests run with the new changes.

@smccarthy788
Copy link
Contributor

I have a PR which will remove expandvars entirely: #86. I think that was one of the goals for #82, to remove arbitrary environment variables from the config. Happy for any feedback on that PR though!

@jdrumgoole
Copy link
Author

jdrumgoole commented Aug 12, 2025 via email

@jdrumgoole jdrumgoole closed this Aug 12, 2025
@jdrumgoole
Copy link
Author

jdrumgoole commented Aug 19, 2025 via email

@smccarthy788
Copy link
Contributor

smccarthy788 commented Aug 19, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants