FiloSottile/gvt

fetch error message could be more descriptive

開放

#45 建立於 2016年5月1日

 (0 則留言) (0 個反應) (0 位負責人)Go (67 個分叉)github user discovery
help wanted

倉庫指標

星標
 (724 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I made a typo when adding a dependency to vendor/:

 $ gvt fetch golang.org/x/tools/loader
2016/05/01 22:45:32 command "fetch" failed: lstat /tmp/gvt-126032266/loader: no such file or directory
 $ gvt fetch golang.org/x/tools/go/loader
[...]

Only after I entered that temporary directory did I figure out that I was using loader instead of go/loader - for a second I thought something else was going wrong. Perhaps the error given by gvt could be more descriptive if the vcs repository was cloned, but the package in it doesn't exist.

貢獻者指南