From 057c147d1f0573a02574f483e091bd91702fc30b Mon Sep 17 00:00:00 2001 From: Nishant Mittal Date: Sun, 14 Aug 2022 04:05:52 +0530 Subject: [PATCH] Don't return if directory is found in git walk Signed-off-by: Nishant Mittal --- utils/walker/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/walker/git.go b/utils/walker/git.go index 136d0174..68a67389 100644 --- a/utils/walker/git.go +++ b/utils/walker/git.go @@ -192,7 +192,7 @@ func clonewalk(g *Git) error { continue } if f.IsDir() { - return nil + continue } err := g.readFile(f, path) if err != nil {