Less 🌭

This commit is contained in:
Corey Johnson 2019-12-11 16:52:16 -08:00
parent 6f339285b5
commit 23fdd730e9
2 changed files with 0 additions and 3 deletions

View file

@ -28,7 +28,6 @@ func CheckForUpdate(client *api.Client, stateFilePath, repo, currentVersion stri
return nil, err
}
fmt.Printf("🌭 %+v -> %+v\n", latestRelease.Version, currentVersion)
if versionGreaterThan(latestRelease.Version, currentVersion) {
return latestRelease, nil
}
@ -52,7 +51,6 @@ func getLatestReleaseInfo(client *api.Client, stateFilePath, repo, currentVersio
if err != nil {
return nil, err
}
fmt.Printf("🌭 latestRelease: %+v\n", latestRelease)
err = setStateEntry(stateFilePath, time.Now(), latestRelease)
if err != nil {

View file

@ -97,6 +97,5 @@ func tempFilePath() string {
log.Fatal(err)
}
os.Remove(file.Name())
fmt.Printf("🌭 %+v\n", file.Name())
return file.Name()
}