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

Configured binary might not be used if one already exists in the default path #519

Open
code-asher opened this issue Jan 3, 2025 · 0 comments

Comments

@code-asher
Copy link
Member

code-asher commented Jan 3, 2025

If you configure the binary path, but then you already have a binary in the default path, and the default path matches the server but the configured path does not, it will use the default path.

While in some sense this makes sense (the default path one is a "better" match because it matches the server version) it feels unexpected to me that you can configure the path and it uses something else. In one particular case, we want a different version because the latest version of the cli has a bug.

Additionally, feels like the "fall back to data directory" setting should affect this, but it does not. Should specify it only affects when it tries to download the binary.

@coder-labeler coder-labeler bot added the help wanted Extra attention is needed label Jan 3, 2025
@code-asher code-asher removed the help wanted Extra attention is needed label Jan 3, 2025
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

1 participant