mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
JS: Handle array of sorting criteria
This commit is contained in:
@@ -278,7 +278,11 @@ module LodashUnderscore {
|
||||
|
||||
override predicate propagatesFlow(string input, string output, boolean preservesValue) {
|
||||
input = "Argument[0].ArrayElement" and
|
||||
output = ["Argument[1].Parameter[0]", "ReturnValue.ArrayElement"] and
|
||||
output =
|
||||
[
|
||||
"Argument[1].Parameter[0]", "Argument[1].ArrayElement.Parameter[0]",
|
||||
"ReturnValue.ArrayElement"
|
||||
] and
|
||||
preservesValue = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user