volta-cli/volta

Partial versions cause hard-to-read errors

Open

#1,433 建立於 2023年1月27日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)Rust (8,309 star) (189 fork)batch import
error messagesgood first issue

描述

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.

貢獻者指南