mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 20:45:25 +00:00
fix(events): correct JSON encoder type in ScanStatsWorker (#6366)
Signed-off-by: Dwi Siswanto <git@dw1.io>
This commit is contained in:
parent
b0fe565a8b
commit
cff86b5c98
@ -25,7 +25,7 @@ type ScanStatsWorker struct {
|
|||||||
m *sync.Mutex
|
m *sync.Mutex
|
||||||
directory string
|
directory string
|
||||||
file *os.File
|
file *os.File
|
||||||
enc *json.Encoder
|
enc json.Encoder
|
||||||
}
|
}
|
||||||
|
|
||||||
// Init initializes the scan stats worker
|
// Init initializes the scan stats worker
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user