Skip to content

Commit

Permalink
Fix error message (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagola92 committed Nov 20, 2022
1 parent ae4b387 commit 9757c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/git.go
Expand Up @@ -25,7 +25,7 @@ func (e *Engine) ScanGit(ctx context.Context, c sources.Config) error {

repo, err := gogit.PlainOpenWithOptions(c.RepoPath, &gogit.PlainOpenOptions{DetectDotGit: true})
if err != nil {
return fmt.Errorf("could open repo: %s: %w", c.RepoPath, err)
return fmt.Errorf("could not open repo: %s: %w", c.RepoPath, err)
}

if c.MaxDepth != 0 {
Expand Down

0 comments on commit 9757c33

Please sign in to comment.