diff --git a/src/cmd/go/get.go b/src/cmd/go/get.go index fb9a4ae235..e61da7e2ad 100644 --- a/src/cmd/go/get.go +++ b/src/cmd/go/get.go @@ -143,10 +143,6 @@ var downloadRootCache = map[string]bool{} // for the package named by the argument. func download(arg string, stk *importStack, getTestDeps bool) { p := loadPackage(arg, stk) - if p.Error != nil { - errorf("%s", p.Error) - return - } // There's nothing to do if this is a package in the standard library. if p.Standard {