mirror of
https://github.com/hohn/codeql-lab.git
synced 2025-12-16 01:53:03 +01:00
Ruby: Fix compilation of example query
The AST library needs to be explicitly imported.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
import ruby
|
||||
import codeql.ruby.AST
|
||||
|
||||
from Block b
|
||||
where b.getNumberOfStatements() = 0
|
||||
|
||||
Reference in New Issue
Block a user