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 01798453b3 - Show all commits

View File

@ -55,7 +55,8 @@ func getNonAscii(root string) ([]string, error) {
if err != nil {
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
}
}