Skip to content

Commit 03ae282

Browse files
geoffw0MathiasVP
andauthored
Update swift/ql/lib/codeql/swift/frameworks/Alamofire/Alamofire.qll
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent dc02fa0 commit 03ae282

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

swift/ql/lib/codeql/swift/frameworks/Alamofire/Alamofire.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ private import codeql.swift.dataflow.FlowSources
1212
*/
1313
private class AlamofireResponseType extends NominalTypeDecl {
1414
AlamofireResponseType() {
15-
this.getFullName() = ["DataResponse", "DownloadResponse"] or
16-
this.getABaseTypeDecl() instanceof AlamofireResponseType
15+
this.getABaseTypeDecl*().getFullName() = ["DataResponse", "DownloadResponse"]
1716
}
1817

1918
/**

0 commit comments

Comments
 (0)