From fdf203cd209aeb40f454bd12d121a54d6ed7a542 Mon Sep 17 00:00:00 2001 From: Dan Kirkwood Date: Mon, 7 Oct 2024 22:04:06 -0700 Subject: [PATCH] fix(repo): `git clone` output to Stderr (#7561) --- 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, }