Ruby: remove exists that ql4ql is unhappy about

This commit is contained in:
Asger F
2022-09-06 09:36:06 +02:00
parent f07e0592d0
commit 5ef69628b3

View File

@@ -68,8 +68,7 @@ API::Node getExtraNodeFromPath(string package, string type, AccessPath path, int
/** Gets a Ruby-specific interpretation of the `(package, type)` tuple. */
API::Node getExtraNodeFromType(string package, string type) {
isRelevantFullPath(package, type, _) and
exists(package) and // Allow any package name, see `isPackageUsed`.
isRelevantFullPath(package, type, _) and // Allow any package name, see `isPackageUsed`.
type = "" and
result = API::root()
}