Skip to content

Commit e1675ff

Browse files
erik-kroghaibaars
authored andcommitted
fix typo for getAPrimaryQlClass
1 parent 958fbc7 commit e1675ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/lib/codeql/ruby/ast/Module.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ class SingletonClass extends ModuleBase, TSingletonClass {
293293

294294
SingletonClass() { this = TSingletonClass(g) }
295295

296-
final override string getAPrimaryQlClass() { result = "ClassDeclaration" }
296+
final override string getAPrimaryQlClass() { result = "SingletonClass" }
297297

298298
/**
299299
* Gets the expression resulting in the object on which the singleton class

0 commit comments

Comments
 (0)