mirror of
https://github.com/datarhei/core.git
synced 2025-10-06 08:27:08 +08:00
Remove unecessary condition for not storing a report
This commit is contained in:
@@ -917,10 +917,6 @@ func (p *parser) storeReportHistory(state string, usage Usage) {
|
||||
|
||||
p.ResetLog()
|
||||
|
||||
if len(report.Prelude) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
p.lock.logHistory.Lock()
|
||||
defer p.lock.logHistory.Unlock()
|
||||
|
||||
|
Reference in New Issue
Block a user