mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Move files to ruby subfolder
This commit is contained in:
6
ruby/ql/consistency-queries/VariablesConsistency.ql
Normal file
6
ruby/ql/consistency-queries/VariablesConsistency.ql
Normal file
@@ -0,0 +1,6 @@
|
||||
import codeql.ruby.ast.Variable
|
||||
|
||||
query predicate ambiguousVariable(VariableAccess access, Variable variable) {
|
||||
access.getVariable() = variable and
|
||||
count(access.getVariable()) > 1
|
||||
}
|
||||
Reference in New Issue
Block a user