Merge branch 'release/0.8.4-1'

This commit is contained in:
Book Pauk
2020-02-14 11:46:28 +07:00

View File

@@ -100,7 +100,7 @@ function getEncodingLite(buf, returnAll) {
}
function checkIfText(buf) {
const enc = getEncoding(buf, true);
const enc = getEncodingLite(buf, true);
if (enc[0].c > enc[0].totalChecked*0.9)
return true;