From f900f92d635ee71383c9564977987c341d732b2d Mon Sep 17 00:00:00 2001 From: aschaef19 Date: Mon, 29 Nov 2021 10:07:04 -0700 Subject: [PATCH] fix: clone repo arguments --- pkg/core/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/core.go b/pkg/core/core.go index fe59d24..2a56f29 100644 --- a/pkg/core/core.go +++ b/pkg/core/core.go @@ -73,7 +73,7 @@ func (eb *EarlybirdCfg) GitClone(ptr PTRGitConfig) { if *ptr.RepoUser != "" { // use auth eb.Config.SearchDir, err = git.CloneGitRepos(scanRepos, *ptr.RepoUser, gitPassword, *ptr.RepoBranch, (eb.Config.OutputFormat == "json")) } else { - eb.Config.SearchDir, err = git.CloneGitRepos(scanRepos, "", "", *ptr.RepoBranch, (eb.Config.OutputFormat == "json")) //Blank no auth + eb.Config.SearchDir, err = git.CloneGitRepos(scanRepos, "", "", "", (eb.Config.OutputFormat == "json")) //Blank no auth } if err != nil { log.Println("Failed to clone repository:", err)