mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix type
Related issue: https://github.com/uBlockOrigin/uAssets/pull/22228
This commit is contained in:
parent
11dc33eb02
commit
302d2f5670
1 changed files with 2 additions and 2 deletions
|
|
@ -428,7 +428,7 @@ function abortCurrentScriptCore(
|
|||
return;
|
||||
}
|
||||
if ( safe.logLevel > 1 && e.src !== '' ) {
|
||||
safe.uboLevel(logPrefix, `Matched src\n${e.src}`);
|
||||
safe.uboLog(logPrefix, `Matched src\n${e.src}`);
|
||||
}
|
||||
const scriptText = getScriptText(e);
|
||||
if ( reNeedle.test(scriptText) === false ) {
|
||||
|
|
@ -436,7 +436,7 @@ function abortCurrentScriptCore(
|
|||
return;
|
||||
}
|
||||
if ( safe.logLevel > 1 ) {
|
||||
safe.uboLevel(logPrefix, `Matched text\n${scriptText}`);
|
||||
safe.uboLog(logPrefix, `Matched text\n${scriptText}`);
|
||||
}
|
||||
if ( debug === 'match' || debug === 'all' ) { debugger; } // jshint ignore: line
|
||||
safe.uboLog(logPrefix, 'Aborted');
|
||||
|
|
|
|||
Loading…
Reference in a new issue