Skip to content

Commit 43ca192

Browse files
committed
Swift: remove ArrayContent in UnsafeJsEvalQuery
1 parent d9e694b commit 43ca192

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ module UnsafeJsEvalConfig implements DataFlow::ConfigSig {
3030
or
3131
isAdditionalFlowStep(node, _)
3232
) and
33-
(
34-
c.getAReadContent() instanceof DataFlow::Content::ArrayContent or
35-
c.getAReadContent() instanceof DataFlow::Content::CollectionContent
36-
)
33+
c.getAReadContent() instanceof DataFlow::Content::CollectionContent
3734
}
3835
}
3936

0 commit comments

Comments
 (0)