We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223dba9 commit b26ebd2Copy full SHA for b26ebd2
src/cmd/main.go
@@ -251,6 +251,8 @@ func writeLastCheckTime(t time.Time) {
251
// Check for the need of updates if AutoCheckUpdate is on, if its the first time
252
// that version is checked or if has more than 24h since the last version check,
253
// look into the repo if there's any more recent version
254
+// Todo : This is too big of a function. Refactor it to displayUpdateNotification, fetchLatestVersion,
255
+// shouldCheckForUpdates, chucks
256
func CheckForUpdates() {
257
var Config internal.ConfigType
258
0 commit comments