This commit is contained in:
TaKO8Ki 2020-02-15 23:20:15 +09:00
parent 1c1212e6e3
commit 5c8dd70bb7

View file

@ -21,7 +21,7 @@ type StateEntry struct {
LatestRelease ReleaseInfo `yaml:"latest_release"`
}
// CheckForUpdate checks whether this software has had a newer relase on GitHub
// CheckForUpdate checks whether this software has had a newer release on GitHub
func CheckForUpdate(client *api.Client, stateFilePath, repo, currentVersion string) (*ReleaseInfo, error) {
latestRelease, err := getLatestReleaseInfo(client, stateFilePath, repo, currentVersion)
if err != nil {