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

let resourceloader compute relative working dir #593

Merged
merged 1 commit into from Mar 1, 2024

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Feb 29, 2024

When nesting includes + extends recursively, WorkingDir is set to a relative path, so filepath func fail to compute absolute/relative paths, this is why ResourceLoader.Dir was introduced. But I forgot to use it to compute include's relative workingdir. This PR fixes this mistake

closes docker/compose#11552

@ndeloof ndeloof force-pushed the relative_workingdir branch 2 times, most recently from 0811e85 to 7aaf043 Compare February 29, 2024 15:23
loader/loader.go Outdated Show resolved Hide resolved
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants