mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
JS: Fix whitelisting in UselessConditional
This commit is contained in:
@@ -79,7 +79,7 @@ async function awaitFlow(){
|
||||
|
||||
function f3(x) {
|
||||
(function(){
|
||||
x || y // NOT OK
|
||||
x || y // NOT OK, but whitelisted
|
||||
});
|
||||
}
|
||||
f3(true);
|
||||
|
||||
Reference in New Issue
Block a user