fixed typos and some linter suggestions

This commit is contained in:
Gani Georgiev
2024-01-23 20:56:14 +02:00
parent 80d65a198b
commit aabe820e35
17 changed files with 4635 additions and 4626 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
package cmd
import (
"errors"
"log"
"net/http"
@@ -43,7 +44,7 @@ func NewServeCommand(app core.App, showStartBanner bool) *cobra.Command {
CertificateDomains: args,
})
if err != http.ErrServerClosed {
if !errors.Is(err, http.ErrServerClosed) {
log.Fatalln(err)
}
},