Skip to content

Commit 5ef6962

Browse files
committed
Ruby: remove exists that ql4ql is unhappy about
1 parent f07e059 commit 5ef6962

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ruby/ql/lib/codeql/ruby/frameworks/data/internal/ApiGraphModelsSpecific.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ API::Node getExtraNodeFromPath(string package, string type, AccessPath path, int
6868

6969
/** Gets a Ruby-specific interpretation of the `(package, type)` tuple. */
7070
API::Node getExtraNodeFromType(string package, string type) {
71-
isRelevantFullPath(package, type, _) and
72-
exists(package) and // Allow any package name, see `isPackageUsed`.
71+
isRelevantFullPath(package, type, _) and // Allow any package name, see `isPackageUsed`.
7372
type = "" and
7473
result = API::root()
7574
}

0 commit comments

Comments
 (0)