mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Fix dedupe
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user