Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley committed Dec 7, 2024
1 parent 8944606 commit 00e1bfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/ciphernode/enclave/src/commands/password/helpers.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use dialoguer::{theme::ColorfulTheme, Password};
use anyhow::Result;
use dialoguer::{theme::ColorfulTheme, Password};

pub fn prompt_password(prompt: impl Into<String>) -> Result<String> {
let password = Password::with_theme(&ColorfulTheme::default())
.with_prompt(prompt)
.interact()?;

Ok(password)
}
2 changes: 1 addition & 1 deletion packages/ciphernode/enclave/src/commands/password/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mod create;
mod delete;
mod overwrite;
mod helpers;
mod overwrite;
use anyhow::*;
use clap::Subcommand;
use config::AppConfig;
Expand Down

0 comments on commit 00e1bfa

Please sign in to comment.