mirror of
https://github.com/safing/portmaster
synced 2025-09-04 11:39:29 +00:00
Fix linter error
This commit is contained in:
parent
99a494db6e
commit
a4e2d3d147
1 changed files with 0 additions and 1 deletions
|
@ -175,7 +175,6 @@ func upgradeFile(fileToUpgrade string, file *updater.File) error {
|
||||||
// test currentVersion for sanity
|
// test currentVersion for sanity
|
||||||
if !rawVersionRegex.MatchString(currentVersion) {
|
if !rawVersionRegex.MatchString(currentVersion) {
|
||||||
log.Tracef("updates: version string returned by %s is invalid: %s", fileToUpgrade, currentVersion)
|
log.Tracef("updates: version string returned by %s is invalid: %s", fileToUpgrade, currentVersion)
|
||||||
currentVersion = "0.0.0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// try removing old version
|
// try removing old version
|
||||||
|
|
Loading…
Add table
Reference in a new issue