mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 12:55:26 +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++
|
||||
}
|
||||
}
|
||||
input.Close()
|
||||
runner.input = sb.String()
|
||||
if dupeCount > 0 {
|
||||
gologger.Labelf("Supplied input was automatically deduplicated (%d removed).", dupeCount)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user