mirror of https://github.com/daffainfo/nuclei.git
Fixed linter issues
parent
d772dedef1
commit
ce7534112a
|
@ -165,7 +165,7 @@ func MakeDefaultMatchFunc(data map[string]interface{}, matcher *matchers.Matcher
|
||||||
part = "response"
|
part = "response"
|
||||||
}
|
}
|
||||||
|
|
||||||
partItem, ok := data[matcher.Part]
|
partItem, ok := data[part]
|
||||||
if !ok && len(matcher.DSL) == 0 {
|
if !ok && len(matcher.DSL) == 0 {
|
||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue