mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Replace flow(_, sink) with flowTo(sink)
This commit is contained in:
@@ -9,7 +9,7 @@ class HardcodedCredentialsApiCallTest extends InlineExpectationsTest {
|
||||
|
||||
override predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
tag = "HardcodedCredentialsApiCall" and
|
||||
exists(DataFlow::Node sink | HardcodedCredentialApiCallFlow::flow(_, sink) |
|
||||
exists(DataFlow::Node sink | HardcodedCredentialApiCallFlow::flowTo(sink) |
|
||||
sink.getLocation() = location and
|
||||
element = sink.toString() and
|
||||
value = ""
|
||||
|
||||
Reference in New Issue
Block a user