mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Update ql/lib/semmle/go/frameworks/stdlib/Log.qll
Rename class Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com>
This commit is contained in:
@@ -17,8 +17,8 @@ module Log {
|
||||
}
|
||||
}
|
||||
|
||||
private class ZapFormatter extends StringOps::Formatting::Range instanceof LogFunction {
|
||||
ZapFormatter() { this.getName().matches("%f") }
|
||||
private class LogFormatter extends StringOps::Formatting::Range instanceof LogFunction {
|
||||
LogFormatter() { this.getName().matches("%f") }
|
||||
|
||||
override int getFormatStringIndex() { result = 0 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user