Remove debug statements

This commit is contained in:
Isaac Clayton 2022-07-08 21:28:35 +02:00
parent 3e8b230567
commit 8931218dc6
7 changed files with 6 additions and 22 deletions

View file

@ -75,9 +75,8 @@ fn command_async(command: String) -> Option<Vec<u8>>;
#[export]
pub fn echo_async(message: String) -> String {
let command = dbg!(format!("echo {}", message));
let command = format!("echo {}", message);
let result = command_async(command);
dbg!(&result);
let result = result.expect("Could not run command");
String::from_utf8_lossy(&result).to_string()
}