add missing case for unknown size with normal output
This was lost in previous change, causing a crash in that case.
This commit is contained in:
parent
a747373b40
commit
672e53bded
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ metered :: Maybe MeterUpdate -> Key -> (MeterUpdate -> Annex a) -> Annex a
|
|||
metered othermeter key a = withMessageState $ go (keySize key)
|
||||
where
|
||||
go _ (MessageState { outputType = QuietOutput }) = nometer
|
||||
go Nothing (MessageState { outputType = NormalOutput }) = nometer
|
||||
go (Just size) (MessageState { outputType = NormalOutput, concurrentOutputEnabled = False }) = do
|
||||
showOutput
|
||||
(progress, meter) <- mkmeter size
|
||||
|
|
Loading…
Reference in a new issue