Skip to content

Commit 2b25765

Browse files
committed
Format QL
1 parent 43fb759 commit 2b25765

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

javascript/ql/lib/semmle/javascript/security/internal/SensitiveDataHeuristics.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ module HeuristicNames {
9898
* suggesting nouns within the string do not represent the meaning of the whole string (e.g. a URL or a SQL query).
9999
*/
100100
string notSensitiveRegexp() {
101-
result = "(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|code)).*"
101+
result =
102+
"(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|code)).*"
102103
}
103104

104105
/**

python/ql/lib/semmle/python/security/internal/SensitiveDataHeuristics.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ module HeuristicNames {
9898
* suggesting nouns within the string do not represent the meaning of the whole string (e.g. a URL or a SQL query).
9999
*/
100100
string notSensitiveRegexp() {
101-
result = "(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|code)).*"
101+
result =
102+
"(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|code)).*"
102103
}
103104

104105
/**

ruby/ql/lib/codeql/ruby/security/internal/SensitiveDataHeuristics.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ module HeuristicNames {
9898
* suggesting nouns within the string do not represent the meaning of the whole string (e.g. a URL or a SQL query).
9999
*/
100100
string notSensitiveRegexp() {
101-
result = "(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|code)).*"
101+
result =
102+
"(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|code)).*"
102103
}
103104

104105
/**

0 commit comments

Comments
 (0)