Skip to content

Commit 8cef512

Browse files
committed
Ruby: ensure ApiGraphs.qll imports its entry points
1 parent e3fbaf5 commit 8cef512

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,11 @@ module API {
298298
API::Node getANode() { result = root().getASuccessor(Label::entryPoint(this)) }
299299
}
300300

301+
// Ensure all entry points are imported from ApiGraphs.qll
302+
private module ImportEntryPoints {
303+
private import codeql.ruby.frameworks.data.ModelsAsData
304+
}
305+
301306
/** Gets the root node. */
302307
Root root() { any() }
303308

0 commit comments

Comments
 (0)