From 93d7712dcf24a673c14ac03d90f7420ce293c148 Mon Sep 17 00:00:00 2001 From: Billy Lynch Date: Fri, 21 Oct 2022 16:09:10 -0400 Subject: [PATCH] Remove provenance type check. This enables user provided custom provenance types. Signed-off-by: Billy Lynch --- cmd/gitsign-attest/main.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/gitsign-attest/main.go b/cmd/gitsign-attest/main.go index 4b3c6831..2ea3594a 100644 --- a/cmd/gitsign-attest/main.go +++ b/cmd/gitsign-attest/main.go @@ -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)