File tree 1 file changed +1
-1
lines changed
ghcide/session-loader/Development/IDE
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ loadSessionWithOptions recorder SessionLoadingOptions{..} rootDir que = do
652
652
consultCradles hyCfpList@ (h: hs) = do
653
653
let lfpLogs = map (makeRelative rootDir . snd ) hyCfpList
654
654
logWith recorder Info $ LogCradlePaths lfpLogs
655
- cradles <- mapM (\ (hieYaml, _) -> do c <- loadCradle recorder hieYaml rootDir; return (c,h )) (h:| hs)
655
+ cradles <- mapM (\ hf @ (hieYaml, _) -> do c <- loadCradle recorder hieYaml rootDir; return (c,hf )) (h:| hs)
656
656
when optTesting $ mRunLspT lspEnv $ mapM_ (\ (_, cfp) -> sendNotification (SMethod_CustomMethod (Proxy @ " ghcide/cradle/loaded" )) (toJSON cfp)) hyCfpList
657
657
let progMsg = " Setting up " <> T. intercalate " ," (T. pack . takeBaseName . cradleRootDir <$> NE. toList (fmap fst cradles))
658
658
<> " (for " <> T. intercalate " ," (T. pack <$> lfpLogs) <> " )"
You can’t perform that action at this time.
0 commit comments