File tree 1 file changed +1
-3
lines changed
ghcide/src/Development/IDE
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -210,14 +210,12 @@ defaultMain Arguments{..} = do
210
210
211
211
-- We want to set the global DynFlags right now, so that we can use
212
212
-- `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
215
213
_mlibdir <-
216
214
setInitialDynFlags dir argsSessionLoadingOptions
217
215
`catchAny` (\ e -> (hPutStrLn stderr $ " setInitialDynFlags: " ++ displayException e) >> pure Nothing )
218
216
219
217
220
- sessionLoader <- loadSessionWithOptions argsSessionLoadingOptions $ fromMaybe dir rootPath
218
+ sessionLoader <- loadSessionWithOptions argsSessionLoadingOptions dir
221
219
config <- LSP. runLspT env LSP. getConfig
222
220
let def_options = argsIdeOptions config sessionLoader
223
221
You can’t perform that action at this time.
0 commit comments