File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -278,9 +278,8 @@ getDependencyEdit recorder env cabalFilePath buildTarget dependency = do
278
278
pure edit
279
279
280
280
-- | Given a path to a haskell file, returns the closest cabal file.
281
- -- If package.yaml is present in same directory as .cabal file, it returns nothing, because adding a dependency to a generated cabal file
282
- -- will break propagation of changes from package.yaml to cabal file in stack project.
283
- --
281
+ -- If a package.yaml is present in same directory as the .cabal file, returns nothing, because adding a dependency to a generated cabal file
282
+ -- will break propagation of changes from package.yaml to cabal files in stack projects.
284
283
-- If cabal file wasn't found, gives Nothing.
285
284
findResponsibleCabalFile :: FilePath -> IO (Maybe FilePath )
286
285
findResponsibleCabalFile haskellFilePath = do
You can’t perform that action at this time.
0 commit comments