mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 07:52:50 -05:00
core: update to golangci-lint v2
This commit is contained in:
@@ -64,7 +64,7 @@ func (l *FileLogger) writeToFile(message string) {
|
||||
redacted := l.redactPassword(message)
|
||||
timestamp := time.Now().Format("15:04:05.000")
|
||||
|
||||
l.writer.WriteString(fmt.Sprintf("[%s] %s\n", timestamp, redacted)) //nolint:errcheck
|
||||
fmt.Fprintf(l.writer, "[%s] %s\n", timestamp, redacted)
|
||||
l.writer.Flush()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user