mirror of
https://github.com/github/codeql.git
synced 2026-07-21 03:08:25 +02:00
Swift: Update uses of deprecated ArrayContent.
This commit is contained in:
@@ -27,9 +27,9 @@ module CleartextLoggingConfig implements DataFlow::ConfigSig {
|
||||
}
|
||||
|
||||
predicate allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c) {
|
||||
// flow out from array content at the sink.
|
||||
// flow out from collection content at the sink.
|
||||
isSink(node) and
|
||||
c.getAReadContent() instanceof DataFlow::Content::ArrayContent
|
||||
c.getAReadContent() instanceof DataFlow::Content::CollectionContent
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user