Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jan 27, 2024
1 parent 11dc33e commit 302d2f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/resources/scriptlets.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,15 +428,15 @@ 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 ) {
if ( debug === 'nomatch' || debug === 'all' ) { debugger; } // jshint ignore: line
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');
Expand Down

0 comments on commit 302d2f5

Please sign in to comment.