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

Fix CLI config file loading from directories outside of trellis #458

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

swalkinshaw
Copy link
Member

Fixes a bug where the project CLI config (trellis.cli.yml) was only loaded if the CLI command was run from within the trellis directory.

The project CLI config file was being loaded before the project Path was set which meant it wasn't found and loaded. Now it's loaded after the Path is set.

cc @MWDelaney thanks!

Fixes a bug where the project CLI config was only loaded if the CLI command was
run from within the `trellis` directory.

The project CLI config file was being loaded _before_ the project `Path`
was set which meant it wasn't found and loaded. Now it's loaded after the
`Path` is set.
@swalkinshaw swalkinshaw merged commit 208d03e into master Aug 29, 2024
3 checks passed
@swalkinshaw swalkinshaw deleted the fix-config-file-loading branch August 29, 2024 03:37
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.

1 participant