diff options
Diffstat (limited to 'src/shell_menu.rs')
-rw-r--r-- | src/shell_menu.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/shell_menu.rs b/src/shell_menu.rs index 05fed46..36d17ba 100644 --- a/src/shell_menu.rs +++ b/src/shell_menu.rs @@ -1,7 +1,7 @@ use anyhow::{Context, Result}; use crate::impl_selectable_content; -use crate::log::write_log_line; +use crate::log_line; use crate::opener::{execute_in_child_without_output, execute_in_child_without_output_with_path}; use crate::status::Status; use crate::utils::is_program_in_path; @@ -59,8 +59,7 @@ impl ShellMenu { } else { Self::simple(status, name.as_str())? }; - let log_line = format!("Executed {name}"); - write_log_line(log_line); + log_line!("Executed {name}"); Ok(()) } |