Merge pull request #461 from TaKO8Ki/fix-typo

Fix typo
This commit is contained in:
Mislav Marohnić 2020-02-17 12:17:17 +01:00 committed by GitHub
commit df60d8829d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {