mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 02:42:41 +01:00
Fix bad argument passing
This commit is contained in:
parent
0b871e6546
commit
dac320e396
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user