Skip to content

Commit

Permalink
Allow conformance driver to call cosign with user-supplied args
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Steindler <[email protected]>
  • Loading branch information
steiza committed Aug 6, 2024
1 parent aa9d22b commit ed13ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/conformance/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func main() {
args = append(args, os.Args[len(os.Args)-1])

dir := filepath.Dir(os.Args[0])
cmd := exec.Command(filepath.Join(dir, "cosign"), args...)
cmd := exec.Command(filepath.Join(dir, "cosign"), args...) // #nosec G204
var out strings.Builder
cmd.Stdout = &out
cmd.Stderr = &out
Expand Down

0 comments on commit ed13ff4

Please sign in to comment.