fix/nonascii_attributes #69
|
@ -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)
|
||||
zzjc123 marked this conversation as resolved
Outdated
|
||||
if matched && ret["text"].IsUnset() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
zzjc123 marked this conversation as resolved
Outdated
张泊明518370910136
commented
just
just
```go
if _, ret := matcher.Match(strings.Split(relPath, "/"), nil); ret {
return nil
}
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user
this line is too long now, should make it in two lines.