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

Patch version is incorrectly parsed from .go-version #136

Open
ofalvai opened this issue Apr 23, 2024 · 0 comments
Open

Patch version is incorrectly parsed from .go-version #136

ofalvai opened this issue Apr 23, 2024 · 0 comments

Comments

@ofalvai
Copy link

ofalvai commented Apr 23, 2024

Describe the bug

I'm not sure if this is a bug in the plugin or ASDF itself, but I found a strange edge case:

To Reproduce
Steps to reproduce the behavior:

  1. Set .go-version to 1.20.1
  2. asdf install golang 1.20.14: this is important, see below
  3. Run asdf current or a similar command
  4. ASDF selects 1.20.14

Expected behavior

Go version 1.20.1 should be selected. Instead, asdf current reports 1.20.14.

When I uninstall 1.20.14, the issue goes away. When I use .tool-versions instead of .go-version, it's also not present.

asdf version: v0.14.0-ccdd47d
asdf-golang version: 652c592

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant