feat(healthcheck/nonasciifile): distinguish no-text and text flag
This commit is contained in:
parent
375c874734
commit
78a711ff3b
|
@ -59,7 +59,7 @@ func getNonAscii(root string) ([]string, error) {
|
|||
if err != nil {
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user