diff --git a/command/pr.go b/command/pr.go index d1cb7e5be..1e0c43aa3 100644 --- a/command/pr.go +++ b/command/pr.go @@ -193,7 +193,7 @@ func prList(cmd *cobra.Command, args []string) error { } if len(prs) == 0 { - colorErr := colorableErr(cmd) // Send to stderr because otherwise when piping this command it would seem like the "no open prs" message is acually a pr + colorErr := colorableErr(cmd) // Send to stderr because otherwise when piping this command it would seem like the "no open prs" message is actually a pr msg := "There are no open pull requests" userSetFlags := false diff --git a/update/update.go b/update/update.go index 42eb5955f..5a96bed56 100644 --- a/update/update.go +++ b/update/update.go @@ -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 {