fix function name on comment (#1940)

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter 2024-02-21 20:41:15 +08:00 committed by GitHub
parent 3c738c3b28
commit 6a5a2dcc17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ var (
hyphenRegex = regexp.MustCompile(`^[a-zA-Z0-9\-]+\.[a-zA-Z0-9]+$`) hyphenRegex = regexp.MustCompile(`^[a-zA-Z0-9\-]+\.[a-zA-Z0-9]+$`)
) )
// CheckDirectoCheckDirectoryries initiates the checking process for the specified directories using configuration from config.Config. // CheckDirectory initiates the checking process for the specified directories using configuration from config.Config.
func CheckDirectory(cfg *config.Config) error { func CheckDirectory(cfg *config.Config) error {
ignoreMap := make(map[string]struct{}) ignoreMap := make(map[string]struct{})
for _, dir := range cfg.IgnoreDirs { for _, dir := range cfg.IgnoreDirs {