Skip to content

Commit

Permalink
fix verbosity not working on silence_stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilgardis committed Jul 10, 2022
1 parent 77952e4 commit ac35958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl CommandExt for Command {
silence_stdout: bool,
) -> Result<ExitStatus> {
self.debug(msg_info)?;
if silence_stdout && msg_info.is_verbose() {
if silence_stdout && !msg_info.is_verbose() {
self.stdout(std::process::Stdio::null());
}
self.status()
Expand Down

0 comments on commit ac35958

Please sign in to comment.