From f5afb8a79a292465c9ad1509c74b7c4efa6c375f Mon Sep 17 00:00:00 2001 From: Dan Kirkwood Date: Tue, 24 Sep 2024 21:52:58 -0700 Subject: [PATCH] git clone output to Stderr --- pkg/fanal/artifact/repo/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/fanal/artifact/repo/git.go b/pkg/fanal/artifact/repo/git.go index 8eb3d9af7f9d..4532b631c6b7 100644 --- a/pkg/fanal/artifact/repo/git.go +++ b/pkg/fanal/artifact/repo/git.go @@ -128,7 +128,7 @@ func cloneRepo(u *url.URL, artifactOpt artifact.Option) (string, error) { cloneOptions := git.CloneOptions{ URL: u.String(), Auth: gitAuth(), - Progress: os.Stdout, + Progress: os.Stderr, InsecureSkipTLS: artifactOpt.Insecure, }