Browse Source

Fix lint warning

pull/2608/head
Gabe Kangas 2 years ago
parent
commit
484b5d2a49
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      controllers/customJavascript.go

2
controllers/customJavascript.go

@ -9,5 +9,5 @@ import ( @@ -9,5 +9,5 @@ import (
// ServeCustomJavascript will serve optional custom Javascript.
func ServeCustomJavascript(w http.ResponseWriter, r *http.Request) {
js := data.GetCustomJavascript()
w.Write([]byte(js))
_, _ = w.Write([]byte(js))
}

Loading…
Cancel
Save