asdf-vm / asdf-vm/asdf

bug: plugin version setting validation

Open
#1,983 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
25.6k
Forks
941
Avg merge
9h 24m
Merged PRs (30d)
3

Description

### Describe the Bug

asdf should display error message if set version do not exist

```shell
asdf set --home scarb 2.92
```
do not produce any output

```shell
asdf set --home scarb 2.9.2
```
this one should work

### Steps to Reproduce

```shell
asdf set --home scarb 2.92
```

### Expected Behaviour

Any error message

### Actual Behaviour

Blank

### Environment

```shell
macos
```

### asdf plugins affected (if relevant)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `asdf set --home scarb 2.92` and `asdf set --home scarb 2.9.2` commands, then trace the `set` CLI entry point and its plugin-version validation path. Done means an invalid version produces an error message while the valid version continues to work; no specific file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.