mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 22:45:28 +00:00
linter fixes
This commit is contained in:
parent
8396413f9d
commit
3e2875267c
@ -614,7 +614,7 @@ func (h *httpGetRedirectsChainHeaders) Execute(filePath string) error {
|
|||||||
http.Redirect(w, r, "/final", http.StatusFound)
|
http.Redirect(w, r, "/final", http.StatusFound)
|
||||||
})
|
})
|
||||||
router.GET("/final", func(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
|
router.GET("/final", func(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
|
||||||
w.Write([]byte("ok"))
|
_, _ = w.Write([]byte("ok"))
|
||||||
})
|
})
|
||||||
ts := httptest.NewServer(router)
|
ts := httptest.NewServer(router)
|
||||||
defer ts.Close()
|
defer ts.Close()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user