mirror of https://github.com/gorhill/uBlock.git
Only filter lists are diff-updatable
This commit is contained in:
parent
443c1f81e1
commit
7f2703acd6
|
@ -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 New Issue