mirror of
https://github.com/go-gitea/gitea
synced 2025-01-10 17:54:27 +00:00
f0bde0e4f9
Remove unnecessary `if opts.Logger != nil` checks. * For "CLI doctor" mode, output to the console's "logger.Info". * For "Web Task" mode, output to the default "logger.Debug", to avoid flooding the server's log in a busy production instance. Co-authored-by: Giteabot <teabot@gitea.io>