Skip to content

Commit f08879a

Browse files
authored
Format; add change note
1 parent 6fa2d27 commit f08879a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* Logrus' `WithContext` methods are no longer treated as if they output the values stored in that context to a log message.

go/ql/lib/semmle/go/frameworks/Logrus.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ module Logrus {
1515
}
1616

1717
bindingset[result]
18-
private string getAnEntryUpdatingMethodName() {
19-
result.regexpMatch("With(Error|Fields?|Time)")
20-
}
18+
private string getAnEntryUpdatingMethodName() { result.regexpMatch("With(Error|Fields?|Time)") }
2119

2220
private class LogFunction extends Function {
2321
LogFunction() {

0 commit comments

Comments
 (0)