File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
ghcide/src/Development/IDE Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -210,14 +210,12 @@ defaultMain Arguments{..} = do
210210
211211 -- We want to set the global DynFlags right now, so that we can use
212212 -- `unsafeGlobalDynFlags` even before the project is configured
213- -- We do it here since haskell-lsp changes our working directory to the correct place ('rootPath')
214- -- before calling this function
215213 _mlibdir <-
216214 setInitialDynFlags dir argsSessionLoadingOptions
217215 `catchAny` (\ e -> (hPutStrLn stderr $ " setInitialDynFlags: " ++ displayException e) >> pure Nothing )
218216
219217
220- sessionLoader <- loadSessionWithOptions argsSessionLoadingOptions $ fromMaybe dir rootPath
218+ sessionLoader <- loadSessionWithOptions argsSessionLoadingOptions dir
221219 config <- LSP. runLspT env LSP. getConfig
222220 let def_options = argsIdeOptions config sessionLoader
223221
You can’t perform that action at this time.
0 commit comments