We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1553947 commit 67a60c3Copy full SHA for 67a60c3
internal/resolve/resolve.go
@@ -131,5 +131,7 @@ func parseVersion(rawVersions string) []string {
131
}
132
133
func variableVersionName(toolName string) string {
134
- return fmt.Sprintf("ASDF_%s_VERSION", strings.ToUpper(toolName))
+ upper := strings.ToUpper(toolName)
135
+ sanitized := strings.ReplaceAll(upper, "-", "_")
136
+ return fmt.Sprintf("ASDF_%s_VERSION", sanitized)
137
0 commit comments