OnAbortMeta fix condition
fixes #140
Vladimir Bauer
2 years ago
| 55 | 55 |
}
|
| 56 | 56 |
|
| 57 | 57 |
func (d onAbortMetaWrapper) Decor(s Statistics) (string, int) {
|
| 58 | |
if s.Completed {
|
|
58 |
if s.Aborted {
|
| 59 | 59 |
str, width := d.Decorator.Decor(s)
|
| 60 | 60 |
return d.fn(str), width
|
| 61 | 61 |
}
|