Skip to content

Commit 8051ae4

Browse files
committed
cargo fmt
Signed-off-by: Tuan Anh Tran <[email protected]>
1 parent 0c97906 commit 8051ae4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/oci.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ async fn setup_trust_repository(cli: &Cli) -> Result<Box<dyn TrustRoot>, anyhow:
8686
Err(e) => {
8787
log::error!("Failed to initialize TUF trust repository: {e}");
8888
if !cli.insecure_skip_signature {
89-
return Err(anyhow!("Failed to initialize TUF trust repository and signature verification is required"));
89+
return Err(anyhow!(
90+
"Failed to initialize TUF trust repository and signature verification is required"
91+
));
9092
}
9193
log::info!("Falling back to manual trust repository");
9294
}

0 commit comments

Comments
 (0)