mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-29 20:13:03 +00:00
Do not show AND matcher information in the command line output if debug is not enabled #1081
* integration test fix
This commit is contained in:
parent
435ec5cd5d
commit
d88ed67d2c
@ -82,7 +82,14 @@ func (h *networkMultiStep) Execute(filePath string) error {
|
||||
if routerErr != nil {
|
||||
return routerErr
|
||||
}
|
||||
if len(results) != 3 {
|
||||
|
||||
var expectedResultsSize int
|
||||
if debug {
|
||||
expectedResultsSize = 3
|
||||
} else {
|
||||
expectedResultsSize = 1
|
||||
}
|
||||
if len(results) != expectedResultsSize {
|
||||
return errIncorrectResultsCount(results)
|
||||
}
|
||||
return nil
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user