Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53cb445dde | ||
|
|
6e46947220 | ||
|
|
da040e799c |
@@ -100,7 +100,7 @@ function getEncodingLite(buf, returnAll) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function checkIfText(buf) {
|
function checkIfText(buf) {
|
||||||
const enc = getEncoding(buf, true);
|
const enc = getEncodingLite(buf, true);
|
||||||
if (enc[0].c > enc[0].totalChecked*0.9)
|
if (enc[0].c > enc[0].totalChecked*0.9)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user