volta-cli/volta

Partial versions cause hard-to-read errors

Open

#1.433 aberto em 27 de jan. de 2023

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)Rust (189 forks)batch import
error messagesgood first issue

Métricas do repositório

Stars
 (8.309 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Now I don't know if this is intentional, but incomplete version numbers cause the somewhat hard to understand error Volta error: Could not parse version "18".

I believe Volta ought to have the feature of simplified versions (i.e. major or major.minor only), but if not, I'd really like if the error message was more clear, perhaps clarifying that it needs an exact match.

Guia do colaborador