Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Commit

Permalink
Log OS in hie-wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismwendt committed Aug 1, 2019
1 parent 6b09cc0 commit a67490b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/HieWrapper.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import System.Directory
import System.Environment
import qualified System.Log.Logger as L
import System.Process
import System.Info

-- ---------------------------------------------------------------------

Expand Down Expand Up @@ -70,6 +71,7 @@ run opts = do
logm $ "run entered for hie-wrapper(" ++ progName ++ ") " ++ version
d <- getCurrentDirectory
logm $ "Current directory:" ++ d
logm $ "Operating system:" ++ os

-- Get the cabal directory from the ghc-mod cradle
(mcr,_) <- GM.runGhcModT GM.defaultOptions GM.cradle
Expand Down

0 comments on commit a67490b

Please sign in to comment.