asdf-community/asdf-golang

`go version` produces error

lifeiscontent opened this issue · 4 comments

Describe the bug
when running go version this is the output I see.

$ go version
/home/aaronreisman/.asdf/lib/utils.bash: line 234: ASDF_.._VERSION: invalid variable name
go version go1.16.6 linux/amd64

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
no error

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@kennyp can you please take a look at this?

@lifeiscontent I'm not able to reproduce. What do you get when you do asdf info?

I'm going to close this for now, but please re-open if it's still an issue.

@kennyp

OS:
Linux aaron 5.10.0-1051-oem #53-Ubuntu SMP Thu Oct 28 08:11:53 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

SHELL:
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

ASDF VERSION:
v0.8.1-a1ef92a

ASDF ENVIRONMENT VARIABLES:
ASDF_DIR=/home/aaron/.asdf

ASDF INSTALLED PLUGINS:
awscli                       https://github.com/MetricMike/asdf-awscli.git
golang                       https://github.com/kennyp/asdf-golang.git
helm                         https://github.com/Antiarchitect/asdf-helm.git
kubectl                      https://github.com/Banno/asdf-kubectl.git
nodejs                       https://github.com/asdf-vm/asdf-nodejs.git
shellcheck                   https://github.com/luizm/asdf-shellcheck.git
shfmt                        https://github.com/luizm/asdf-shfmt.git