easyp-tech/easyp

Better version not found error message

Closed this issue · 0 comments

#easyp.yaml
deps:
  - github.com/gogo/protobuf@invalid
$ easyp mod download
# cmd.Get: repository.ReadRevision: version not found

like

deps:
  - github.com/gogo/invalid
$ easyp mod download
# cmd.Get: repository.ReadRevision: r.readRevisionForLatestCommit: adapters.RunCmd (ls-remote headInfo): Command: git; Err: exit status 128; Stderr: remote: Repository not found.
# fatal: repository 'https://github.com/gogo/invalid/' not found