Skip to content

Commit

Permalink
remove some print statements
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Worm <tony@hofstadter.io>
  • Loading branch information
verdverm committed Aug 8, 2021
1 parent 06eca95 commit d545a85
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/mod/cache/write.go
@@ -1,7 +1,6 @@
package cache

import (
"fmt"
"path/filepath"

"github.com/go-git/go-billy/v5"
Expand All @@ -22,7 +21,6 @@ func Outdir(lang, remote, owner, repo, tag string) string {
}

func Write(lang, remote, owner, repo, tag string, FS billy.Filesystem) error {
fmt.Printf("Saving %s mod %s/%s/%s@%s\n", lang, remote, owner, repo, tag)
outdir := Outdir(lang, remote, owner, repo, tag)
err := yagu.Mkdir(outdir)
if err != nil {
Expand Down
2 changes: 0 additions & 2 deletions lib/yagu/repos/github/client.go
Expand Up @@ -2,7 +2,6 @@ package github

import (
"context"
"fmt"
"os"

"golang.org/x/oauth2"
Expand All @@ -16,7 +15,6 @@ func NewClient() (client *github.Client, err error) {
ctx := context.Background()

if token := os.Getenv(TokenEnv); token != "" {
fmt.Println("GITHUB OAUTH")
ts := oauth2.StaticTokenSource(
&oauth2.Token{AccessToken: token},
)
Expand Down

0 comments on commit d545a85

Please sign in to comment.