Skip to content

Commit 1ca0de9

Browse files
committed
Swift: Autoformat.
1 parent 68a2166 commit 1ca0de9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ class SensitivePrivateInfo extends SensitiveDataType, TPrivateInfo {
6565

6666
override string getRegexp() {
6767
// we've had good results for the e-mail heuristic in Swift, which isn't part of the default regex. Add it in.
68-
result = HeuristicNames::maybeSensitiveRegexp(SensitiveDataClassification::private())
69-
.replaceAll(".*(", ".*(e(mail|_mail)|")
68+
result =
69+
HeuristicNames::maybeSensitiveRegexp(SensitiveDataClassification::private())
70+
.replaceAll(".*(", ".*(e(mail|_mail)|")
7071
}
7172
}
7273

0 commit comments

Comments
 (0)