chore: revert experimental change

This commit is contained in:
imgurbot12 2024-04-09 14:40:21 -07:00
parent ecd051435d
commit fcc64b6dd5

View File

@ -1,5 +1,4 @@
//! Execution Implementation for Entry Actions //! Execution Implementation for Entry Actions
use std::io::{stdout, Write};
use std::process::Command; use std::process::Command;
use std::{collections::HashMap, os::unix::process::CommandExt}; use std::{collections::HashMap, os::unix::process::CommandExt};
@ -53,9 +52,7 @@ pub fn execute(action: &Action, term: Option<String>) {
parse_args(&command) parse_args(&command)
} }
Method::Echo(echo) => { Method::Echo(echo) => {
if let Err(err) = writeln!(stdout(), "{echo}") { println!("{echo}");
log::error!("failed to write to stdout: {err:?}");
};
std::process::exit(0); std::process::exit(0);
} }
}; };