mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Fix last commit
Related commit:
e30223c42e
This needs to be done with currently cached list, not with
failed modified list.
This commit is contained in:
parent
a014b547ef
commit
1db569d4ee
@ -1274,6 +1274,7 @@ async function diffUpdater() {
|
||||
assetCacheRead(assetKey).then(result => {
|
||||
data.text = result.content;
|
||||
data.status = undefined;
|
||||
checkAndCorrectDiffPath(data);
|
||||
bc.postMessage(data);
|
||||
});
|
||||
return;
|
||||
@ -1296,7 +1297,6 @@ async function diffUpdater() {
|
||||
updaterUpdated.push(assetKey);
|
||||
} else if ( data.error ) {
|
||||
ubolog(`Diff updater: failed to update ${data.name} using ${data.patchPath}\n\treason: ${data.error}`);
|
||||
checkAndCorrectDiffPath(data);
|
||||
} else if ( data.status === 'nopatch-yet' || data.status === 'nodiff' ) {
|
||||
ubolog(`Diff updater: skip update of ${data.name} using ${data.patchPath}\n\treason: ${data.status}`);
|
||||
const assetKey = assetKeyFromDiffName(data.name);
|
||||
|
Loading…
Reference in New Issue
Block a user