Skip to content

Commit 86b0fae

Browse files
committed
Swift: Update uses of deprecated ArrayContent.
1 parent d15420c commit 86b0fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ module CleartextLoggingConfig implements DataFlow::ConfigSig {
2727
}
2828

2929
predicate allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c) {
30-
// flow out from array content at the sink.
30+
// flow out from collection content at the sink.
3131
isSink(node) and
32-
c.getAReadContent() instanceof DataFlow::Content::ArrayContent
32+
c.getAReadContent() instanceof DataFlow::Content::CollectionContent
3333
}
3434
}
3535

0 commit comments

Comments
 (0)