We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d469b0 commit dbf2691Copy full SHA for dbf2691
src/main.rs
@@ -272,10 +272,10 @@ async fn main() -> Result<()> {
272
273
// Check for update notification (only for non-interactive mode)
274
// Use short timeout so we don't delay exit if check is slow
275
- if is_terminal::is_terminal(std::io::stderr()) {
276
- if let Ok(Some(new_version)) = update_rx.recv_timeout(Duration::from_millis(100)) {
277
- update::print_update_notice(&new_version);
278
- }
+ if is_terminal::is_terminal(std::io::stderr())
+ && let Ok(Some(new_version)) = update_rx.recv_timeout(Duration::from_millis(100))
+ {
+ update::print_update_notice(&new_version);
279
}
280
281
result
0 commit comments