mirror of
https://github.com/Luzifer/ots.git
synced 2025-07-24 07:00:36 -04:00
CI: Add code linting (#118)
This commit is contained in:
parent
546481dcfc
commit
8540d4016c
8 changed files with 200 additions and 14 deletions
|
@ -30,7 +30,7 @@ func assetSRIHash(assetName string) string {
|
|||
}
|
||||
|
||||
h := sha512.New384()
|
||||
h.Write(data)
|
||||
_, _ = h.Write(data)
|
||||
sum := h.Sum(nil)
|
||||
|
||||
sri := "sha384-" + base64.StdEncoding.EncodeToString(sum)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue