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

Log OS in hie-wrapper #1351

Merged
merged 1 commit into from
Aug 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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