Less ðŸŒ
This commit is contained in:
parent
6f339285b5
commit
23fdd730e9
2 changed files with 0 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -97,6 +97,5 @@ func tempFilePath() string {
|
|||
log.Fatal(err)
|
||||
}
|
||||
os.Remove(file.Name())
|
||||
fmt.Printf("🌠%+v\n", file.Name())
|
||||
return file.Name()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue