chore(healthcheck/nonasciifile): code style

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
} }
} }