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 { 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)
zzjc123 marked this conversation as resolved Outdated

this line is too long now, should make it in two lines.

this line is too long now, should make it in two lines.
if matched && ret["text"].IsUnset() {
return nil return nil
} }
} }
zzjc123 marked this conversation as resolved Outdated

just

			if _, ret := matcher.Match(strings.Split(relPath, "/"), nil); ret {
				return nil
			}
just ```go if _, ret := matcher.Match(strings.Split(relPath, "/"), nil); ret { return nil } ```