Skip to content

Commit

Permalink
fix(update): Fix incorrect latest version check
Browse files Browse the repository at this point in the history
  • Loading branch information
elldritch committed Mar 19, 2018
1 parent 019b3d0 commit b88e58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/fossa/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func checkUpdate() (bool, error) {
}

parsedVersion := getSemver(version)
updateLogger.Debugf("checking version for updates (%s -> %s)", version, parsedVersion)
updateLogger.Debugf("checking version for updates (%s -> %s)", version, latest)
v, err := semver.Parse(parsedVersion)
if err != nil {
return false, errors.New("invalid version (are you using a development binary?)")
Expand Down

0 comments on commit b88e58e

Please sign in to comment.