Fix dedupe

This commit is contained in:
SukkaW 2022-11-24 00:22:44 +08:00
parent c36dedfdd5
commit 3418838405

View File

@ -37,7 +37,8 @@ module.exports.dedupe = ({ chunk }) => {
break;
}
}
} else if (domainFromInputLen > domainFromFullSetLen) {
}
if (domainFromInputLen > domainFromFullSetLen) {
// domainFromInput is now startsWith a "."
if (domainFromInput.endsWith(domainFromFullSet)) {
outputToBeRemoved[i] = 1;