Skip to content

Commit 0f75ca1

Browse files
committed
improve
1 parent cea6740 commit 0f75ca1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/progress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub fn use_progress_bar() -> bool {
1515
if env::var("SENTRY_NO_PROGRESS_BAR") == Ok("1".into()) {
1616
return false;
1717
}
18-
std::io::stdout().is_terminal()
18+
std::io::stdout().is_terminal() && std::io::stderr().is_terminal()
1919
}
2020

2121
/// Wrapper that optionally holds a progress bar.

0 commit comments

Comments
 (0)