mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
Removing logging of git client errors as these are now returned in main.go
This commit is contained in:
1 parent
f89b8f2b29
commit
6fcf91e934
2 files changed
+1
-7
No files matched your search
@@ -41,9 +41,6 @@ func NewGithubClient(m manager.Manager) (*Github, error) {
|
||||
githubClient = github.NewClient(httpClient)
|
||||
} else {
|
||||
githubClient, err = github.NewEnterpriseClient(m.Opts.BaseURL, m.Opts.BaseURL, httpClient)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
return &Github{
|
||||
|
||||
Reference in new issue
Block a user