chore: update linter

This commit is contained in:
Ludovic Fernandez
2023-11-17 01:50:06 +01:00
committed by GitHub
parent 12e50e20e6
commit 553ef94047
46 changed files with 129 additions and 105 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import (
zipa "archive/zip"
"context"
"crypto/sha256"
"encoding/hex"
"encoding/json"
"errors"
"fmt"
@@ -423,5 +424,5 @@ func computeHash(filepath string) (string, error) {
sum := hash.Sum(nil)
return fmt.Sprintf("%x", sum), nil
return hex.EncodeToString(sum), nil
}