Skip to content

Commit 820cac2

Browse files
authored
Remove debug logging (#48)
remove debug logging
1 parent 2bc9fc3 commit 820cac2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.8.0
1+
v1.8.1

version/version.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ func getLatestVersion() (string, error) {
6666
goproxy := "https://proxy.golang.org"
6767
cmd := exec.Command("go", "env", "GOPROXY")
6868
output, err := cmd.Output()
69-
if err != nil {
70-
fmt.Printf("failed to get GOPROXY: %v\n", err)
71-
} else {
69+
if err == nil {
7270
goproxy = strings.TrimSpace(string(output))
7371
}
7472

0 commit comments

Comments
 (0)