mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 23:05:25 +00:00
Properly close file after use
This commit is contained in:
parent
32e20b13e6
commit
3cc79c2c49
@ -109,6 +109,7 @@ func New(options *Options) (*Runner, error) {
|
|||||||
dupeCount++
|
dupeCount++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
input.Close()
|
||||||
runner.input = sb.String()
|
runner.input = sb.String()
|
||||||
if dupeCount > 0 {
|
if dupeCount > 0 {
|
||||||
gologger.Labelf("Supplied input was automatically deduplicated (%d removed).", dupeCount)
|
gologger.Labelf("Supplied input was automatically deduplicated (%d removed).", dupeCount)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user