mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Fix singleton set literal
This commit is contained in:
@@ -114,7 +114,7 @@ module ActiveSupport {
|
||||
}
|
||||
|
||||
private string getExtractComponent(MethodCall mc, int i) {
|
||||
mc.getMethodName() = ["extract!"] and
|
||||
mc.getMethodName() = "extract!" and
|
||||
result = DataFlow::Content::getKnownElementIndex(mc.getArgument(i)).serialize()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user