From 5d4f3ea926769dafa28a784fbfcdf2a2d96943b3 Mon Sep 17 00:00:00 2001 From: iff Date: Wed, 11 Jun 2025 23:30:31 +0200 Subject: [PATCH] fix: debug assertion on print entries --- core/src/shell.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/shell.rs b/core/src/shell.rs index b39a3b5..b1c6e6f 100644 --- a/core/src/shell.rs +++ b/core/src/shell.rs @@ -61,7 +61,8 @@ pub fn get_error(shell: &str, command: &str, data: &Data) -> String { error_msg } else { let timeout = data.config.timeout.0; - eprintln!("time out is: {}", timeout); + #[cfg(debug_assertions)] + eprintln!("timeout: {}", timeout); error_output_threaded(shell, command, timeout) }; error