Skip to content

Commit 39b6d92

Browse files
committed
Swift: Make QL-for-QL happy (this line will be deleted at some point anyway).
1 parent 066a6ef commit 39b6d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/security/UnsafeJsEvalExtensions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private class DefaultUnsafeJsEvalAdditionalFlowStep extends UnsafeJsEvalAddition
118118
)
119119
or
120120
exists(CallExpr ce, Expr self, ClosureExpr closure |
121-
ce.getStaticTarget().getName().matches(["withUnsafeBufferPointer(%)"]) and
121+
ce.getStaticTarget().getName().matches("withUnsafeBufferPointer(%)") and
122122
self = ce.getQualifier() and
123123
ce.getArgument(0).getExpr() = closure
124124
|

0 commit comments

Comments
 (0)