From 8912fc8e20247152e059771c46ddc7138b33761d Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Tue, 26 Sep 2017 22:38:08 +0200 Subject: [PATCH] Use void instead of _ <- --- .../Distribution/Client/ProjectOrchestration.hs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cabal-install/Distribution/Client/ProjectOrchestration.hs b/cabal-install/Distribution/Client/ProjectOrchestration.hs index 25e4c813644..4daaa5a6dbc 100644 --- a/cabal-install/Distribution/Client/ProjectOrchestration.hs +++ b/cabal-install/Distribution/Client/ProjectOrchestration.hs @@ -349,11 +349,11 @@ runProjectPostBuildPhase verbosity pkgsBuildStatus buildOutcomes - _ <- writePlanGhcEnvironment (distProjectRootDirectory - distDirLayout) - elaboratedPlanOriginal - elaboratedShared - postBuildStatus + void $ writePlanGhcEnvironment (distProjectRootDirectory + distDirLayout) + elaboratedPlanOriginal + elaboratedShared + postBuildStatus -- Finally if there were any build failures then report them and throw -- an exception to terminate the program