Skip to content

Commit 33ca557

Browse files
committed
Ruby: EntryPoint.getNode -> getANode
1 parent ecf7073 commit 33ca557

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ruby/ql/lib/codeql/ruby/ApiGraphs.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ module API {
295295
DataFlow::CallNode getACall() { none() }
296296

297297
/** Gets an API-node for this entry point. */
298-
API::Node getNode() { result = root().getASuccessor(Label::entryPoint(this)) }
298+
API::Node getANode() { result = root().getASuccessor(Label::entryPoint(this)) }
299299
}
300300

301301
/** Gets the root node. */

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ API::Node getExtraNodeFromPath(string package, string type, AccessPath path, int
6161
n = 1 and
6262
exists(EntryPointFromAnyType entry |
6363
methodMatchedByName(path, entry.getName()) and
64-
result = entry.getNode()
64+
result = entry.getANode()
6565
)
6666
}
6767

0 commit comments

Comments
 (0)