Skip to content

Commit

Permalink
Fix ignored verbosity when printing World on hook/background step f…
Browse files Browse the repository at this point in the history
…ailure (#313)

Co-authored-by: 50U10FCA7 <[email protected]>
  • Loading branch information
50U10FCA7 and 50U10FCA7 authored Dec 4, 2023
1 parent d9fe09f commit 6fedbb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/writer/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ impl<Out: io::Write> Basic<Out> {
format!("{w:#?}"),
self.indent.saturating_sub(3) + 3,
))
.filter(|_| self.verbosity.shows_world())
.unwrap_or_default(),
indent = " ".repeat(self.indent.saturating_sub(3)),
)))
Expand Down Expand Up @@ -1009,6 +1010,7 @@ impl<Out: io::Write> Basic<Out> {
format!("{w:#?}"),
self.indent.saturating_sub(3) + 3,
))
.filter(|_| self.verbosity.shows_world())
.unwrap_or_default(),
));

Expand Down

0 comments on commit 6fedbb9

Please sign in to comment.