Swift: Address singleton set literal warning

This commit is contained in:
Geoffrey White
2023-04-28 12:15:51 +01:00
parent 74274e834e
commit 837f16c212
2 changed files with 2 additions and 2 deletions

View File

@@ -267,7 +267,7 @@ The following global taint-tracking query finds places where a value from a remo
predicate isSink(DataFlow::Node node) {
exists(CallExpr call |
call.getStaticTarget().(MethodDecl).hasQualifiedName("Connection", ["execute(_:)"]) and
call.getStaticTarget().(MethodDecl).hasQualifiedName("Connection", "execute(_:)") and
call.getArgument(0).getExpr() = node.asExpr()
)
}