Closed luben closed 6 years ago
CLA signed by all contributors.
Ah, sorry I missed this.
Can you add a test like https://github.com/puppetlabs/cpp-hocon/blob/master/lib/tests/conf_parser_test.cc#L627-L633 - but with file()
removed - to the PR?
Also, thanks so much for investigating and putting together a fix!
This PR does not fix include file("path")
vs include "path"
case but it's about resolving the substitutions in the included files: don't only consider path from the config root but also from the included file root.
Ah right, that would require a more complex example.
Actually the fixtures already had an example pattern I can use. Sent a PR with the test,
Fixes #95 : substitution inside the file should work without the full path where they are included.