mirror of
https://github.com/grdl/git-get.git
synced 2026-02-06 16:52:57 +00:00
Fix issues found by nlreturn linter
This commit is contained in:
@@ -85,6 +85,7 @@ func (f *RepoFinder) Find() error {
|
||||
gitPath := filepath.Join(path, dotgit)
|
||||
if _, err := os.Stat(gitPath); err == nil {
|
||||
f.addIfOk(path)
|
||||
|
||||
return fs.SkipDir // Skip this directory's contents since it's a repo
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user