mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Only filter lists are diff-updatable
This commit is contained in:
parent
443c1f81e1
commit
7f2703acd6
1 changed files with 1 additions and 0 deletions
|
@ -1204,6 +1204,7 @@ const getAssetDiffDetails = assetKey => {
|
|||
out.writeTime = cacheEntry.writeTime;
|
||||
const assetEntry = assetSourceRegistry[assetKey];
|
||||
if ( assetEntry === undefined ) { return; }
|
||||
if ( assetEntry.content !== 'filters' ) { return; }
|
||||
if ( Array.isArray(assetEntry.cdnURLs) ) {
|
||||
out.cdnURLs = assetEntry.cdnURLs.slice();
|
||||
} else if ( reIsExternalPath.test(assetKey) ) {
|
||||
|
|
Loading…
Reference in a new issue