mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
JS: Remove reactLibraryRef
This is not testing anything interesting, and is noisy when adding inline expectations
This commit is contained in:
@@ -9,8 +9,6 @@ query predicate getInstanceMethod(ReactComponent c, string n, Function res) {
|
||||
res = c.getInstanceMethod(n)
|
||||
}
|
||||
|
||||
query predicate reactLibraryRef(DataFlow::ValueNode nd) { react().flowsTo(nd) }
|
||||
|
||||
query predicate getAPreviousStateSource(ReactComponent c, DataFlow::SourceNode res) {
|
||||
res = c.getAPreviousStateSource()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user