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

@ -82,7 +82,6 @@ pub fn cached_server_binary(container_dir: PathBuf) -> Option<PathBuf> {
let last_version_dir = last_version_dir?;
let bin_path = last_version_dir.join(BIN_PATH);
if bin_path.exists() {
dbg!(&bin_path);
Some(bin_path)
} else {
println!("no binary found");

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()
}