Skip to content

Commit

Permalink
Format and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Apr 3, 2024
1 parent 0cd2638 commit b19c41f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions checked_cli/src/generate.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use crate::cli::{DistributeArgs, GenerateArgs};
use crate::common::{get_signing_key_path, get_store_dir, get_verification_key_path, open_file};
use crate::distribute::distribute;
use minisign::KeyPair;
use std::io::Write;
use crate::distribute::distribute;

pub async fn generate(generate_args: GenerateArgs) -> anyhow::Result<()> {
let store_dir = get_store_dir(generate_args.path)?;
Expand Down Expand Up @@ -60,7 +60,8 @@ pub async fn generate(generate_args: GenerateArgs) -> anyhow::Result<()> {
distribute(DistributeArgs {
port: admin_port,
name: generate_args.name,
}).await?;
})
.await?;

Ok(())
}

0 comments on commit b19c41f

Please sign in to comment.