Skip to content

Commit

Permalink
chore: fix up linter and format
Browse files Browse the repository at this point in the history
Signed-off-by: Frederick Kautz <frederick@testifysec.com>
  • Loading branch information
fkautz authored and mikhailswift committed Jan 9, 2023
1 parent 97f0fac commit 0b8eb4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion attestation/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (a *Attestor) Subjects() map[string]cryptoutil.DigestSet {
return map[string]cryptoutil.DigestSet{
subjectName: {
{
Hash: crypto.SHA1,
Hash: crypto.SHA1,
GitOID: true,
}: a.CommitHash,
},
Expand Down
2 changes: 0 additions & 2 deletions attestation/material/material.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ package material

import (
"encoding/json"
"github.com/edwarnicke/gitoid"
"github.com/testifysec/go-witness/attestation"
"github.com/testifysec/go-witness/attestation/file"
"github.com/testifysec/go-witness/cryptoutil"
Expand Down Expand Up @@ -45,7 +44,6 @@ type Option func(*Attestor)

type Attestor struct {
materials map[string]cryptoutil.DigestSet
gitoids map[string][]*gitoid.GitOID
}

func (a Attestor) Name() string {
Expand Down

0 comments on commit 0b8eb4c

Please sign in to comment.