JS: Fix accidental recursion

This commit is contained in:
Asger Feldthaus
2022-02-04 14:41:32 +01:00
parent e4f801bea8
commit e2cbf47b16

View File

@@ -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. */