Skip to content

Commit

Permalink
Write a newline after message about no trusted reviewers
Browse files Browse the repository at this point in the history
Otherwise the new command prompt is appended to the end of the message and harder for users to see.
  • Loading branch information
dburgener authored and kornelski committed Nov 8, 2024
1 parent 37771a1 commit 5405145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo-crev/src/deps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ pub fn verify_deps(crate_: CrateSelector, args: CrateVerify) -> Result<CommandEx

if !has_trusted_ids {
term.eprint(format_args!("NOTE: "), YELLOW)?;
write!(io::stderr(), "No trusted Ids available. Nothing to verify against. Use `cargo crev trust` to add trusted reviewers or visit https://github.com/crev-dev/cargo-crev/discussions/ for help.")?;
writeln!(io::stderr(), "No trusted Ids available. Nothing to verify against. Use `cargo crev trust` to add trusted reviewers or visit https://github.com/crev-dev/cargo-crev/discussions/ for help.")?;
}
}

Expand Down

0 comments on commit 5405145

Please sign in to comment.