[commit: packages/Cabal] ghc-head: Add forgotten argument to 'warn'. (b0220ab)

git at git.haskell.org git at git.haskell.org
Mon Aug 26 23:26:43 CEST 2013


Repository : ssh://git@git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=b0220ab1932a002194a5fc287e7d86554106a290

>---------------------------------------------------------------

commit b0220ab1932a002194a5fc287e7d86554106a290
Author: Erik Hesselink <hesselink at gmail.com>
Date:   Wed Jun 5 11:03:28 2013 +0200

    Add forgotten argument to 'warn'.


>---------------------------------------------------------------

b0220ab1932a002194a5fc287e7d86554106a290
 cabal-install/Distribution/Client/Sandbox.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cabal-install/Distribution/Client/Sandbox.hs b/cabal-install/Distribution/Client/Sandbox.hs
index 883cb59..37a6785 100644
--- a/cabal-install/Distribution/Client/Sandbox.hs
+++ b/cabal-install/Distribution/Client/Sandbox.hs
@@ -329,7 +329,7 @@ sandboxDelete verbosity _sandboxFlags globalFlags = do
             pkgEnvFile /= (curDir </> sandboxPackageEnvironmentFile)
 
       if isNonDefaultConfigLocation
-        then warn $ "Sandbox config file is in non-default location: '"
+        then warn verbosity $ "Sandbox config file is in non-default location: '"
                     ++ pkgEnvFile ++ "'.\n Please delete manually."
         else removeFile pkgEnvFile
 





More information about the ghc-commits mailing list