chore(healthcheck/nonasciifile): code style
All checks were successful
build / build (push) Successful in 1m22s
build / build (pull_request) Successful in 1m16s
build / trigger-build-image (push) Has been skipped
build / trigger-build-image (pull_request) Has been skipped

This commit is contained in:
zzjc1234 2024-10-21 16:54:38 +08:00
parent c7b8cda34d
commit 01798453b3

View File

@ -55,7 +55,8 @@ func getNonAscii(root string) ([]string, error) {
if err != nil { if err != nil {
return err return err
} }
if ret, matched := matcher.Match(strings.Split(relPath, "/"), nil); matched && ret["text"].IsUnset() { ret, matched := matcher.Match(strings.Split(relPath, "/"), nil)
if matched && ret["text"].IsUnset() {
return nil return nil
} }
} }