Skip to content

Commit b99e9a5

Browse files
asgerfhvitved
andauthored
Update ruby/ql/lib/codeql/ruby/frameworks/data/internal/ApiGraphModels.qll
Co-authored-by: Tom Hvitved <[email protected]>
1 parent f22de8a commit b99e9a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ pragma[nomagic]
427427
private API::Node getNodeFromType(string package, string type) {
428428
exists(string package2, string type2, AccessPath path2 |
429429
typeModel(package, type, package2, type2, path2) and
430-
result = getNodeFromPath(package2, type2, path2, path2.getNumToken())
430+
result = getNodeFromPath(package2, type2, path2)
431431
)
432432
or
433433
result = any(TypeModelUseEntry e).getNodeForType(package, type)

0 commit comments

Comments
 (0)