fix(healthcheck/asciifile): file with attribute set as text
This commit is contained in:
parent
7608bd8456
commit
35f0f5c829
|
@ -56,7 +56,7 @@ func getNonAscii(root string) ([]string, error) {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
ret, matched := matcher.Match(strings.Split(relPath, "/"), nil)
|
ret, matched := matcher.Match(strings.Split(relPath, "/"), nil)
|
||||||
if matched && ret["text"].IsUnset() {
|
if matched && ret["text"].IsUnset() && !ret["text"].IsSet() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user