mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-12-17 16:31:47 +03:00
remove redundant throw
This commit is contained in:
parent
1ca94d6e75
commit
b4661570a9
@ -62,8 +62,7 @@ loop options log ((package, oldVersion, newVersion) : moreUpdates) okToPrAt = do
|
||||
(\ e ->
|
||||
case e of
|
||||
ExitCode 0 -> return True
|
||||
ExitCode _ -> return False
|
||||
_ -> throw e)
|
||||
ExitCode _ -> return False)
|
||||
|
||||
okToPrAt <-
|
||||
if updated then do
|
||||
|
Loading…
Reference in New Issue
Block a user