From eb0ad570ee17ee2f9c3381cbe048d4b78084e6e6 Mon Sep 17 00:00:00 2001 From: Hydraallen Date: Tue, 15 Oct 2024 16:58:02 +0800 Subject: [PATCH] fix: not ignore gitea --- pkg/healthcheck/forbidden.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/healthcheck/forbidden.go b/pkg/healthcheck/forbidden.go index 2c58ab9..7cd97c1 100644 --- a/pkg/healthcheck/forbidden.go +++ b/pkg/healthcheck/forbidden.go @@ -45,7 +45,7 @@ func getForbiddens(root string, fileList []string, localList string) ([]string, } if info.IsDir() { - if info.Name() == ".git" || info.Name() == ".gitea" || info.Name() == "ci" || (localList != "" && inString(info.Name(), dirs)) { + if info.Name() == ".git" || (localList != "" && inString(info.Name(), dirs)) { return filepath.SkipDir } } else {