Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Nov 26, 2024
1 parent c4aeb3a commit bb580f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/bitwarden-wasm-internal/src/ssh.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
use bitwarden_ssh;
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
pub fn generate_ssh_key(
key_algorithm: bitwarden_ssh::KeyAlgorithm,
) -> Result<bitwarden_ssh::GenerateSshKeyResult, bitwarden_ssh::error::KeyGenerationError> {
bitwarden_ssh::generate_sshkey(key_algorithm.into())
bitwarden_ssh::generate_sshkey(key_algorithm)
}

Check warning on line 8 in crates/bitwarden-wasm-internal/src/ssh.rs

View check run for this annotation

Codecov / codecov/patch

crates/bitwarden-wasm-internal/src/ssh.rs#L3-L8

Added lines #L3 - L8 were not covered by tests

0 comments on commit bb580f0

Please sign in to comment.