Only filter lists are diff-updatable

This commit is contained in:
Raymond Hill 2023-12-19 11:51:20 -05:00
parent 443c1f81e1
commit 7f2703acd6
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -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) ) {