volta-cli/volta

Partial versions cause hard-to-read errors

Open

#1,433 opened on Jan 27, 2023

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Rust (8,309 stars) (189 forks)batch import
error messagesgood first issue

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.

Contributor guide