From e67384caebbcc889b5ff9d8c8bbfea0ab3ef032b Mon Sep 17 00:00:00 2001 From: Seednode Date: Fri, 15 Sep 2023 14:37:35 -0500 Subject: [PATCH] Remove test statement accidentally left in (oops) --- cmd/favicons.go | 3 --- cmd/root.go | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/favicons.go b/cmd/favicons.go index a10136e..f04af23 100644 --- a/cmd/favicons.go +++ b/cmd/favicons.go @@ -7,7 +7,6 @@ package cmd import ( "bytes" "embed" - "errors" "net/http" "strconv" "strings" @@ -30,8 +29,6 @@ const ( func serveFavicons(errorChannel chan<- error) httprouter.Handle { return func(w http.ResponseWriter, r *http.Request, p httprouter.Params) { - errorChannel <- errors.New("test") - fname := strings.TrimPrefix(r.URL.Path, "/") data, err := favicons.ReadFile(fname) diff --git a/cmd/root.go b/cmd/root.go index 7639cf9..edffa8d 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -11,7 +11,7 @@ import ( ) const ( - ReleaseVersion string = "0.89.0" + ReleaseVersion string = "0.89.1" ) var (