mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 17:55:25 +00:00
trim space
This commit is contained in:
parent
cdb39d851b
commit
d7997e47ec
@ -80,7 +80,7 @@ func RunNucleiBareArgsAndGetResults(debug bool, env []string, extra ...string) (
|
||||
fmt.Println(data)
|
||||
}
|
||||
var parts []string
|
||||
items := strings.Split(string(data), "\n")
|
||||
items := strings.Split(data, "\n")
|
||||
for _, i := range items {
|
||||
if i != "" {
|
||||
parts = append(parts, i)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user