Ruby: Fix compilation of example query

The AST library needs to be explicitly imported.
This commit is contained in:
Aditya Sharad
2022-11-02 17:56:36 -07:00
committed by GitHub
parent 660dfba019
commit e2ab0b4faf

View File

@@ -6,6 +6,7 @@
*/
import ruby
import codeql.ruby.AST
from Block b
where b.getNumberOfStatements() = 0