Skip to content

Commit

Permalink
Remove provenance type check.
Browse files Browse the repository at this point in the history
This enables user provided custom provenance types.

Signed-off-by: Billy Lynch <billy@chainguard.dev>
  • Loading branch information
wlynch committed Oct 21, 2022
1 parent 94337a4 commit 93d7712
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/gitsign-attest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ func main() {
flag.Parse()
ctx := context.Background()

// Don't try to take the value - this will try to convert the short-form attestation type to it's
// full predicate URI.
if _, err := options.ParsePredicateType(*attType); err != nil {
log.Fatal(err)
}

repo, err := git.PlainOpen(".")
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 93d7712

Please sign in to comment.