Skip to content

Commit

Permalink
Don't repeat intro, "Configuration is affected by the following files"
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Nov 12, 2024
1 parent ce26b78 commit 4960ad9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cabal-install/src/Distribution/Client/ProjectPlanning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,9 @@ rebuildProjectConfig
localPackages <- phaseReadLocalPackages (projectConfig <> cliConfig)
return (projectConfig, localPackages)

sequence_
[ do
notice verbosity . render . vcat $
text "Configuration is affected by the following files:"
: [text "-" <+> docProjectConfigPath path]
notice verbosity . render . vcat $
text "Configuration is affected by the following files:" :
[ text "-" <+> docProjectConfigPath path
| Explicit path <- Set.toList $ projectConfigProvenance projectConfig
]

Expand Down

0 comments on commit 4960ad9

Please sign in to comment.