mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 17:20:35 +08:00
Fix: avoid update adguardhome time even w/o changes
This commit is contained in:
parent
f51cea7547
commit
8d4c927c23
@ -379,6 +379,10 @@ export async function fileEqual(linesA: string[], source: AsyncIterable<string>)
|
|||||||
if (lineA[0] === '#' && lineB[0] === '#') {
|
if (lineA[0] === '#' && lineB[0] === '#') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
// adguard conf
|
||||||
|
if (lineA[0] === '!' && lineB[0] === '!') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
lineA[0] === '/'
|
lineA[0] === '/'
|
||||||
&& lineA[1] === '/'
|
&& lineA[1] === '/'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user