mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02: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' ]);
|
const metadata = extractMetadataFromList(data.text, [ 'Diff-Path' ]);
|
||||||
if ( metadata instanceof Object === false ) { return; }
|
if ( metadata instanceof Object === false ) { return; }
|
||||||
if ( metadata.diffPath === data.patchPath ) { return; }
|
if ( metadata.diffPath === data.patchPath ) { return; }
|
||||||
assetCacheSetDetails(data.assetKey, metadata.diffPath);
|
assetCacheSetDetails(data.assetKey, metadata);
|
||||||
};
|
};
|
||||||
bc.onmessage = ev => {
|
bc.onmessage = ev => {
|
||||||
const data = ev.data;
|
const data = ev.data;
|
||||||
|
Loading…
Reference in New Issue
Block a user