Skip to content

Commit e168da4

Browse files
committed
Shared: make a predicate private
1 parent 8cef512 commit e168da4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/frameworks/data/internal/ApiGraphModels.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ private predicate invocationMatchesCallSiteFilter(Specific::InvokeNode invoke, A
343343
* Gets the API node identified by the first `n` tokens of `path` in the given `(package, type, path)` tuple.
344344
*/
345345
pragma[nomagic]
346-
API::Node getNodeFromPath(string package, string type, AccessPath path, int n) {
346+
private API::Node getNodeFromPath(string package, string type, AccessPath path, int n) {
347347
isRelevantFullPath(package, type, path) and
348348
(
349349
n = 0 and

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ private predicate invocationMatchesCallSiteFilter(Specific::InvokeNode invoke, A
343343
* Gets the API node identified by the first `n` tokens of `path` in the given `(package, type, path)` tuple.
344344
*/
345345
pragma[nomagic]
346-
API::Node getNodeFromPath(string package, string type, AccessPath path, int n) {
346+
private API::Node getNodeFromPath(string package, string type, AccessPath path, int n) {
347347
isRelevantFullPath(package, type, path) and
348348
(
349349
n = 0 and

0 commit comments

Comments
 (0)