mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-16 19:30:28 +08:00
Fix dedupe
This commit is contained in:
parent
c36dedfdd5
commit
3418838405
@ -37,7 +37,8 @@ module.exports.dedupe = ({ chunk }) => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (domainFromInputLen > domainFromFullSetLen) {
|
}
|
||||||
|
if (domainFromInputLen > domainFromFullSetLen) {
|
||||||
// domainFromInput is now startsWith a "."
|
// domainFromInput is now startsWith a "."
|
||||||
if (domainFromInput.endsWith(domainFromFullSet)) {
|
if (domainFromInput.endsWith(domainFromFullSet)) {
|
||||||
outputToBeRemoved[i] = 1;
|
outputToBeRemoved[i] = 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user