Fix error message (#933)

This commit is contained in:
Thiago Lages de Alencar
2022-11-20 05:31:11 -08:00
committed by GitHub
parent ae4b387448
commit 9757c339d9
+1 -1
View File
@@ -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 {