Skip to content

Commit

Permalink
Remove committed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewilkins committed Jan 26, 2024
1 parent 23aaf31 commit a25cb01
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ pub fn read_input() -> Result<CredentialRequest, Box<dyn Error>> {
let mut input = CredentialRequest::empty();

// println!("read stdin: {}", buffer);
// let deserialized = toml::from_str(&buffer);
for line in buffer.split("\n") {
if line == "" {
break
Expand Down Expand Up @@ -101,13 +100,6 @@ pub fn execute_fallback(request: CredentialRequest) -> Result<(), Box<dyn Error>

stdin.write(format!("host={}\n", request.host).as_str().as_bytes())?;

// .arg("Hello world")
// eprintln!("cmd: {:?}", command);
// let output = child.stdout;
// eprintln!("output: {:?}", &output);
// let unwrapped = output.expect("Failed to execute command");
// println!("{:?}", unwrapped);

Ok(())
}

Expand Down Expand Up @@ -163,6 +155,4 @@ pub fn resolve_credential(credential_request: &mut CredentialRequest) -> Result<
}
},
}
// let this_credential = stored_credentials.credential.clone();//into_iter().find(|&c| )
// Ok(Some(this_credential))
}

0 comments on commit a25cb01

Please sign in to comment.