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)
|
metered othermeter key a = withMessageState $ go (keySize key)
|
||||||
where
|
where
|
||||||
go _ (MessageState { outputType = QuietOutput }) = nometer
|
go _ (MessageState { outputType = QuietOutput }) = nometer
|
||||||
|
go Nothing (MessageState { outputType = NormalOutput }) = nometer
|
||||||
go (Just size) (MessageState { outputType = NormalOutput, concurrentOutputEnabled = False }) = do
|
go (Just size) (MessageState { outputType = NormalOutput, concurrentOutputEnabled = False }) = do
|
||||||
showOutput
|
showOutput
|
||||||
(progress, meter) <- mkmeter size
|
(progress, meter) <- mkmeter size
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue