File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
plugins/hls-cabal-plugin/src/Ide/Plugin Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ import qualified Language.LSP.VFS as VFS
4242
4343data Log
4444 = LogModificationTime NormalizedFilePath (Maybe FileVersion )
45- | LogDiagnostics NormalizedFilePath [FileDiagnostic ]
4645 | LogShake Shake. Log
4746 | LogDocOpened Uri
4847 | LogDocModified Uri
@@ -55,8 +54,6 @@ instance Pretty Log where
5554 LogShake log' -> pretty log'
5655 LogModificationTime nfp modTime ->
5756 " Modified:" <+> pretty (fromNormalizedFilePath nfp) <+> pretty (show modTime)
58- LogDiagnostics nfp diags ->
59- " Diagnostics for" <+> pretty (fromNormalizedFilePath nfp) <> " :" <+> pretty (show diags)
6057 LogDocOpened uri ->
6158 " Opened text document:" <+> pretty (getUri uri)
6259 LogDocModified uri ->
@@ -145,10 +142,8 @@ cabalRules recorder = do
145142 Left (_cabalVersion, pErrorNE) -> do
146143 let errorDiags = NE. toList $ NE. map (Diagnostics. errorDiagnostic file) pErrorNE
147144 allDiags = errorDiags <> warningDiags
148- log' Debug $ LogDiagnostics file allDiags
149145 pure (allDiags, Nothing )
150146 Right _ -> do
151- log' Debug $ LogDiagnostics file warningDiags
152147 pure (warningDiags, Just () )
153148
154149 action $ do
You can’t perform that action at this time.
0 commit comments