Skip to content

Conversation

@USSX-Hares
Copy link
Contributor

Closes #272

Root Cause

In ConfigTreePatser.postParse(), where the value is put to the resulting dict, the key was not split. Thus, ConfigTree.put() was overwriting any values.

Changes

  • Added tests for that case
  • ConfigTreePatser.postParse() now splits the key before calling ConfigTree.put()

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.7%) to 94.413% when pulling de87e8d on USSX-Hares:bug/272-dict-substitution-fix into be660de on chimpler:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.7%) to 94.413% when pulling de87e8d on USSX-Hares:bug/272-dict-substitution-fix into be660de on chimpler:master.

@darthbear darthbear merged commit 07fce13 into chimpler:master Feb 12, 2023
@darthbear
Copy link
Member

Thank you for your PR @USSX-Hares !

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.

ConfigFactory Parse File update after substitution incorrect

3 participants