mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-15 10:40:33 +08:00
Fix dedupe
This commit is contained in:
parent
c36dedfdd5
commit
3418838405
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user