Skip to content

Commit d881376

Browse files
committed
show newest for debug
1 parent 0793886 commit d881376

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versions/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import (
1313
"strings"
1414

1515
log "github.com/Sirupsen/logrus"
16-
17-
"github.com/tcnksm/go-latest"
1816
)
1917

2018
// GoLatest uses check latest version
@@ -57,6 +55,8 @@ func AutoUpdate(v *GoLatest) {
5755
if res.Outdated {
5856
log.Infof("%s is not latest, %s, upgrade to %s", v.Version, res.Meta.Message, res.Current)
5957
ensure(v, res.Current)
58+
} else {
59+
log.Debug("AutoUpdate: Using newest.")
6060
}
6161
return
6262
}

0 commit comments

Comments
 (0)