Skip to content

Commit

Permalink
fix: remove git-access-token requirement
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kotzbauer <[email protected]>
  • Loading branch information
ckotzbauer committed Sep 18, 2022
1 parent 974f1cf commit 3ca9240
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/vuln/source/git/git_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ func (g *GitSource) ValidateConfig() error {
return fmt.Errorf("%s is empty", vuln.ConfigKeyGitBranch)
}

if g.gitAccount.Token == "" {
return fmt.Errorf("%s is empty", vuln.ConfigKeyGitAccessToken)
}

return nil
}

Expand Down

0 comments on commit 3ca9240

Please sign in to comment.