mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Apply suggestions from code review
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
@@ -16,7 +16,7 @@ function outerMost() {
|
||||
return outer();
|
||||
}
|
||||
|
||||
sink(outerMost()); // NOT OK - but missed
|
||||
sink(outerMost()); // NOT OK
|
||||
|
||||
function confuse(x) {
|
||||
let captured;
|
||||
@@ -27,5 +27,5 @@ function confuse(x) {
|
||||
return captured;
|
||||
}
|
||||
|
||||
sink(confuse('safe')); // OK - but incorrectly flagged
|
||||
sink(confuse('safe')); // OK
|
||||
sink(confuse(source())); // NOT OK
|
||||
|
||||
Reference in New Issue
Block a user