Fix linter error

This commit is contained in:
Daniel 2020-05-22 22:56:21 +02:00
parent 99a494db6e
commit a4e2d3d147

View file

@ -175,7 +175,6 @@ func upgradeFile(fileToUpgrade string, file *updater.File) error {
// test currentVersion for sanity
if !rawVersionRegex.MatchString(currentVersion) {
log.Tracef("updates: version string returned by %s is invalid: %s", fileToUpgrade, currentVersion)
currentVersion = "0.0.0"
}
// try removing old version