Skip to content

Commit 81ed5d0

Browse files
alexrfordhmac
andauthored
Ruby: comment and node description fixes
Co-authored-by: Harry Maclean <[email protected]>
1 parent 57e958c commit 81ed5d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ruby/ql/lib/codeql/ruby/security/CleartextLoggingCustomizations.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module CleartextLogging {
9595
}
9696

9797
/**
98-
* Gets the name of a method that would be falsely marked as non-sensitive
98+
* Gets the name of a method that would be falsely marked as non-sensitive
9999
* by `notSensitiveRegexp`.
100100
*/
101101
private predicate nonSensitiveMethodNameExclusion(string name) { name = ["[]", "[]="] }
@@ -189,7 +189,7 @@ module CleartextLogging {
189189
)
190190
}
191191

192-
override string describe() { result = "an write to " + name }
192+
override string describe() { result = "a write to " + name }
193193

194194
/** Gets the name of the key */
195195
string getName() { result = name }

0 commit comments

Comments
 (0)