mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
JS: Fix accidental recursion
This commit is contained in:
@@ -29,7 +29,7 @@ predicate isPackageUsed(string package) {
|
||||
or
|
||||
package = "global"
|
||||
or
|
||||
exists(API::Node::ofType(package, _))
|
||||
any(DataFlow::SourceNode sn).hasUnderlyingType(package, _)
|
||||
}
|
||||
|
||||
/** Holds if `global` is a global variable referenced via a the `global` package in a CSV row. */
|
||||
|
||||
Reference in New Issue
Block a user