From e2ab0b4faf0eac1048cc47405eafd23418adf744 Mon Sep 17 00:00:00 2001 From: Aditya Sharad Date: Wed, 2 Nov 2022 17:56:36 -0700 Subject: [PATCH] Ruby: Fix compilation of example query The AST library needs to be explicitly imported. --- codeql-custom-queries-ruby/example.ql | 1 + 1 file changed, 1 insertion(+) diff --git a/codeql-custom-queries-ruby/example.ql b/codeql-custom-queries-ruby/example.ql index d086464..dcfb81e 100644 --- a/codeql-custom-queries-ruby/example.ql +++ b/codeql-custom-queries-ruby/example.ql @@ -6,6 +6,7 @@ */ import ruby +import codeql.ruby.AST from Block b where b.getNumberOfStatements() = 0