Fix tests and linters

This commit is contained in:
Daniel
2022-02-02 12:48:42 +01:00
parent f2fcad4d11
commit 60d8664e7b
171 changed files with 944 additions and 874 deletions

View File

@@ -8,9 +8,14 @@ import (
"github.com/safing/portbase/updater"
)
// Release Channel Configuration Keys.
const (
ReleaseChannelKey = "core/releaseChannel"
ReleaseChannelJSONKey = "core.releaseChannel"
)
// Release Channels.
const (
ReleaseChannelStable = "stable"
ReleaseChannelBeta = "beta"
ReleaseChannelStaging = "staging"
@@ -90,7 +95,7 @@ func SetIndexes(registry *updater.ResourceRegistry, releaseChannel string, delet
// Set pre-release usage.
registry.SetUsePreReleases(usePreReleases)
return
return warning
}
func indexExists(registry *updater.ResourceRegistry, indexPath string) bool {