Fix linter error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user