feat(GODT-3160): make linter happy

This commit is contained in:
Jakub
2024-01-24 10:22:43 +01:00
parent 1cd35defe5
commit 374194c13b
5 changed files with 14 additions and 9 deletions

View File

@ -30,6 +30,7 @@ import (
)
const sumFile = ".sum"
const sigFile = ".sig"
type Version struct {
version *semver.Version
@ -83,7 +84,7 @@ func VerifyUpdateFolder(kr *crypto.KeyRing, path string) error {
return err
}
sigBytes, err := os.ReadFile(filepath.Join(path, sumFile+".sig")) //nolint:gosec
sigBytes, err := os.ReadFile(filepath.Join(path, sumFile+sigFile)) //nolint:gosec
if err != nil {
return err
}