mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
use specialized getAParameter predicate, instead of getParameter(_)
This commit is contained in:
@@ -235,7 +235,7 @@ private class NotAModelApiParameter extends CharacteristicsImpl::UninterestingTo
|
||||
NotAModelApiParameter() { this = "not a model API parameter" }
|
||||
|
||||
override predicate appliesToEndpoint(Endpoint e) {
|
||||
not exists(ModelExclusions::ModelApi api | api.getParameter(_) = e.asParameter())
|
||||
not exists(ModelExclusions::ModelApi api | api.getAParameter() = e.asParameter())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user