mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Ruby: Use getAUniqueRead TC
This commit is contained in:
@@ -60,6 +60,6 @@ class SelectBlock extends MethodCall {
|
||||
}
|
||||
|
||||
from EndCall call, SelectBlock selectBlock
|
||||
where [selectBlock, getUniqueRead(selectBlock)] = call.getReceiver()
|
||||
where getUniqueRead*(selectBlock) = call.getReceiver()
|
||||
select call, "Replace this call and $@ with '" + call.detectCall() + "'.", selectBlock,
|
||||
"'select' call"
|
||||
|
||||
Reference in New Issue
Block a user