Skip to content

Commit d8927e5

Browse files
asgerferik-krogh
andauthored
Apply suggestions from code review
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent 5df961c commit d8927e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/test/library-tests/TaintTracking/capture-flow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function outerMost() {
1616
return outer();
1717
}
1818

19-
sink(outerMost()); // NOT OK - but missed
19+
sink(outerMost()); // NOT OK
2020

2121
function confuse(x) {
2222
let captured;
@@ -27,5 +27,5 @@ function confuse(x) {
2727
return captured;
2828
}
2929

30-
sink(confuse('safe')); // OK - but incorrectly flagged
30+
sink(confuse('safe')); // OK
3131
sink(confuse(source())); // NOT OK

0 commit comments

Comments
 (0)