Replace flow(_, sink) with flowTo(sink)

This commit is contained in:
Ed Minnix
2023-03-29 09:24:52 -04:00
parent d24c5071d8
commit a798b1959f
3 changed files with 3 additions and 3 deletions

View File

@@ -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 = ""