chore: update linter
This commit is contained in:
parent
12e50e20e6
commit
553ef94047
46 changed files with 129 additions and 105 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue