Skip to content

Commit

Permalink
golint
Browse files Browse the repository at this point in the history
  • Loading branch information
platinummonkey committed Jul 20, 2023
1 parent a5a78be commit 43cdaef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocks/mock_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var (
func respondResultOrErr(w http.ResponseWriter, v any, err error) {
if err != nil {
b, _ := json.Marshal(err)
w.Write(b)
_, _ = w.Write(b)
w.WriteHeader(500)
return
}
Expand Down

0 comments on commit 43cdaef

Please sign in to comment.