1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Fix bad argument passing

This commit is contained in:
Raymond Hill 2023-11-14 18:03:02 -05:00
parent 0b871e6546
commit dac320e396
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -1231,7 +1231,7 @@ async function diffUpdater() {
const metadata = extractMetadataFromList(data.text, [ 'Diff-Path' ]);
if ( metadata instanceof Object === false ) { return; }
if ( metadata.diffPath === data.patchPath ) { return; }
assetCacheSetDetails(data.assetKey, metadata.diffPath);
assetCacheSetDetails(data.assetKey, metadata);
};
bc.onmessage = ev => {
const data = ev.data;