Capture subprocess results separately from diagnostics
This commit is contained in:
@@ -215,7 +215,10 @@ func (w *diagnosticWriter) reachLimit() error {
|
||||
w.logs.mu.Lock()
|
||||
if w.logs.limit == nil {
|
||||
w.logs.limit = limit
|
||||
w.logs.limits <- limit
|
||||
select {
|
||||
case w.logs.limits <- limit:
|
||||
default:
|
||||
}
|
||||
}
|
||||
w.logs.mu.Unlock()
|
||||
return limit
|
||||
|
||||
Reference in New Issue
Block a user