mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-11 22:38:05 +01:00
fixed typos and some linter suggestions
This commit is contained in:
1 parent
80d65a198b
commit
aabe820e35
17 files changed
+4635
-4626
No files matched your search
+2
-1
@@ -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)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user