fix/nonascii_attributes #69

Merged
张泊明518370910136 merged 11 commits from fix/nonascii_attributes into master 2024-10-21 17:04:53 +08:00
Showing only changes of commit 78a711ff3b - Show all commits

View File

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