Skip to content

Commit

Permalink
Fix: enable stdout in pyroscope mode
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed May 7, 2024
1 parent b06bd8e commit 4df5e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ impl Config {
config.native = matches.occurrences_of("native") > 0;
}

config.capture_output = config.command != "record" || matches.occurrences_of("capture") > 0;
config.capture_output = (config.command != "record" && config.command != "pyroscope" ) || matches.occurrences_of("capture") > 0;
if !config.capture_output {
config.hide_progress = true;
}
Expand Down

0 comments on commit 4df5e71

Please sign in to comment.