Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

substitute included vars with abs path #24

Open
zmstone opened this issue Jan 5, 2021 · 0 comments
Open

substitute included vars with abs path #24

zmstone opened this issue Jan 5, 2021 · 0 comments
Assignees

Comments

@zmstone
Copy link
Member

zmstone commented Jan 5, 2021

file a:

foo={x:1}{include b}
bar={x:2}

file b:

y: ${bar.x}

this causes {unresolved,['foo.bar.x']} exception.
according to the spec:

Substitutions in included files are looked up at two different paths; first, relative to the root of the included file; second, relative to the root of the including configuration.

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

No branches or pull requests

2 participants