simplify evals
This commit is contained in:
parent
f3e4633e35
commit
00d4c7cd01
3 changed files with 5 additions and 3 deletions
|
@ -40,7 +40,7 @@ tryRun' state errnum (a:as) = do
|
|||
result <- try $ Annex.run state a
|
||||
case (result) of
|
||||
Left err -> do
|
||||
_ <- Annex.run state $ showErr err
|
||||
Annex.eval state $ showErr err
|
||||
tryRun' state (errnum + 1) as
|
||||
Right (True,state') -> tryRun' state' errnum as
|
||||
Right (False,state') -> tryRun' state' (errnum + 1) as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue