Skip to content

Commit 310226f

Browse files
committed
- empty recorder
1 parent 76f064c commit 310226f

File tree

1 file changed

+2
-3
lines changed
  • plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal

1 file changed

+2
-3
lines changed

plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/CabalAdd.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,14 @@ instance Pretty CabalAddCommandParams where
131131
-- build target, but if there will be a way to get all build targets from a file
132132
-- it will be possible to support addition to a build target of choice.
133133
addDependencySuggestCodeAction
134-
:: Recorder (WithPriority Log)
135-
-> PluginId
134+
:: PluginId
136135
-> VersionedTextDocumentIdentifier -- ^ Cabal's versioned text identifier
137136
-> [(T.Text, T.Text)] -- ^ A dependency-version suggestion pairs
138137
-> FilePath -- ^ Path to the haskell file (source of diagnostics)
139138
-> FilePath -- ^ Path to the cabal file (that will be edited)
140139
-> GenericPackageDescription
141140
-> IO [CodeAction]
142-
addDependencySuggestCodeAction recorder plId verTxtDocId suggestions haskellFilePath cabalFilePath gpd = do
141+
addDependencySuggestCodeAction plId verTxtDocId suggestions haskellFilePath cabalFilePath gpd = do
143142
buildTargets <- liftIO $ getBuildTargets gpd cabalFilePath haskellFilePath
144143
case buildTargets of
145144
[] -> pure $ mkCodeAction cabalFilePath Nothing <$> suggestions

0 commit comments

Comments
 (0)