Fix linting

This commit is contained in:
binwiederhier 2023-02-09 17:21:12 -05:00
parent e6bb5f484c
commit dc77efc31a
2 changed files with 3 additions and 4 deletions

View file

@ -229,6 +229,9 @@ cli-build-results:
check: test fmt-check vet lint staticcheck
test: .PHONY
go test $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)')
testv: .PHONY
go test -v $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)')
race: .PHONY

View file

@ -1431,10 +1431,6 @@ func (s *Server) execManager() {
Info("Server stats")
}
func (s *Server) expireVisitors() {
}
func (s *Server) runSMTPServer() error {
s.smtpServerBackend = newMailBackend(s.config, s.handle)
s.smtpServer = smtp.NewServer(s.smtpServerBackend)