mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-01-31 15:53:10 +08:00
lint
This commit is contained in:
@@ -21,13 +21,12 @@ var jsTestcases = []TestCaseInfo{
|
||||
}
|
||||
|
||||
var (
|
||||
redisResource *dockertest.Resource
|
||||
sshResource *dockertest.Resource
|
||||
oracleResource *dockertest.Resource
|
||||
vncResource *dockertest.Resource
|
||||
multiPortsSShResource *dockertest.Resource
|
||||
pool *dockertest.Pool
|
||||
defaultRetry = 3
|
||||
redisResource *dockertest.Resource
|
||||
sshResource *dockertest.Resource
|
||||
oracleResource *dockertest.Resource
|
||||
vncResource *dockertest.Resource
|
||||
pool *dockertest.Pool
|
||||
defaultRetry = 3
|
||||
)
|
||||
|
||||
type javascriptNetHttps struct{}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !race
|
||||
// +build !race
|
||||
|
||||
package nuclei_test
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ func init() {
|
||||
}))
|
||||
|
||||
dsl.PrintDebugCallback = func(args ...interface{}) error {
|
||||
gologger.Debug().Msgf("print_debug value: %s", fmt.Sprint(args))
|
||||
gologger.Debug().Msgf("print_debug value: %s", fmt.Sprint(args)) //nolint
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !stats
|
||||
// +build !stats
|
||||
|
||||
package events
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stats
|
||||
// +build stats
|
||||
|
||||
package events
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
//go:build (linux || darwin || windows) && (amd64 || arm64)
|
||||
// +build linux darwin windows
|
||||
// +build amd64 arm64
|
||||
|
||||
package json
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !(linux || darwin || windows) || !(amd64 || arm64)
|
||||
// +build !linux,!darwin,!windows !amd64,!arm64
|
||||
|
||||
package json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user