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

Use provided r10k command_path #153

Merged
merged 2 commits into from
May 8, 2024

Conversation

genebean
Copy link
Contributor

@genebean genebean commented May 1, 2024

Prior to this, the Config struct had a setting under the R10k struct called CommandPath that could be set in the config file, but was ignored as both places that would use it were hard coded to instead use the string r10k. This resulted in the application looking in the path for the r10k binary. A default is set in config.go also, but that seems to have also been ignored.

This fixes #152

Note: I think this should also have a test, but I don't know enough about writing tests in go to make one that works...

@genebean genebean force-pushed the fix-command-path-not-used branch from 1da5032 to dc50554 Compare May 7, 2024 14:24
@genebean genebean added the bug Something isn't working label May 7, 2024
Prior to this, the Config struct had a setting under the R10k struct
called CommandPath that could be set in the config file, but was
ignored as both places that would use it were hard coded to instead use
the string `r10k`. This resulted in the application looking in the path
for the r10k binary. A default is set in config.go also, but that seems
to have also been ignored.

This fixes voxpupuli#152
@genebean genebean force-pushed the fix-command-path-not-used branch from dc50554 to 4408e1e Compare May 7, 2024 15:24
@dhollinger dhollinger merged commit 661e497 into voxpupuli:master May 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

command_path config parameter not honored
2 participants