mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
Address some CodeQL security concerns (#35572)
Although there is no real security problem
This commit is contained in:
@@ -18,6 +18,7 @@ func GetLevel() Level {
|
||||
}
|
||||
|
||||
func Log(skip int, level Level, format string, v ...any) {
|
||||
// codeql[disable-next-line=go/clear-text-logging]
|
||||
GetLogger(DEFAULT).Log(skip+1, &Event{Level: level}, format, v...)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user