diff --git a/cmd/get.go b/cmd/get.go index fac5890f6..a6f616b86 100644 --- a/cmd/get.go +++ b/cmd/get.go @@ -191,9 +191,6 @@ func copyToGopath(srcPath, destPath string) { // if the commit is empty string, then it downloads all dependencies, // otherwise, it only downloada package with specific commit only. func downloadPackages(ctx *cli.Context, nodes []*doc.Node) { - for _, node := range nodes { - fmt.Println(node) - } // Check all packages, they may be raw packages path. for _, n := range nodes { // Check if local reference diff --git a/doc/github.go b/doc/github.go index ffd7a77ea..0bd62c391 100644 --- a/doc/github.go +++ b/doc/github.go @@ -63,8 +63,9 @@ func getGithubDoc(client *http.Client, match map[string]string, installRepoPath err := com.HttpGetJSON(client, com.Expand("https://api.github.com/repos/{owner}/{repo}/git/refs?{cred}", match), &refs) if err != nil { - log.Error("GET", "Fail to get revision") - log.Error("", err.Error()) + log.Warn("GET", "Fail to get revision") + log.Warn("", err.Error()) + log.Help("Try 'gopm config github' to set and gain more API calls") break }