X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=src%2FLanguage%2FHaskell%2FLSP%2FTest.hs;h=c4b90fb944489828f718d173db11bb902bc1e822;hb=c92237720248d8ce94f84ac6aef6409ab116897f;hp=5c41a7b68718c2d2d9ed4f1f07cd660e4c7c9fcf;hpb=5bc242f3aec4f858894a4378a193c5dc847372e6;p=lsp-test.git diff --git a/src/Language/Haskell/LSP/Test.hs b/src/Language/Haskell/LSP/Test.hs index 5c41a7b..c4b90fb 100644 --- a/src/Language/Haskell/LSP/Test.hs +++ b/src/Language/Haskell/LSP/Test.hs @@ -137,7 +137,7 @@ runSessionWithConfig :: SessionConfig -- ^ Configuration options for the session -> Session a -- ^ The session to run. -> IO a runSessionWithConfig config serverExe caps rootDir session = do - -- We use this IORef to make exception non-fatal when the server is supposed to shutdown. + pid <- getCurrentProcessID absRootDir <- canonicalizePath rootDir