Skip to content

Commit

Permalink
Only --hide-successes when --quiet is used
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Nov 20, 2024
1 parent 70a64d8 commit 226ebee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cabal-validate/src/Cli.hs
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ resolveOpts opts = do
else "cabal.validate.project"

tastyArgs' =
"--hide-successes"
: maybe
(optional (rawVerbosity opts <= Quiet) "--hide-successes")
++ maybe
[]
(\tastyPattern -> ["--pattern", tastyPattern])
(rawTastyPattern opts)
Expand Down

0 comments on commit 226ebee

Please sign in to comment.