Skip to content

Commit

Permalink
Fix a partial lambda pattern #1591
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan committed Jan 3, 2016
1 parent 3068c9b commit a19f524
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Stack/Build/Execute.hs
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,9 @@ singleBuild runInBase ac@ActionContext {..} ee@ExecuteEnv {..} task@Task {..} in
, "--force"
, packageIdentifierString taskProvides
])
(\(ReadProcessException _ _ _ _) -> return ())
(\ex -> case ex of
ReadProcessException{} -> return ()
_ -> throwM ex)

readProcessNull Nothing menv' "ghc-pkg"
[ "register"
Expand Down

0 comments on commit a19f524

Please sign in to comment.