Skip to content

Commit

Permalink
added old generation print
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-xd committed Jan 15, 2025
1 parent 9dcc00a commit 016442b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions crates/wdk-build/src/cargo_make.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1053,9 +1053,14 @@ pub fn generate_certificate_condition_script() -> anyhow::Result<()> {
Some(0) => Err(anyhow::anyhow!(
"WDRLocalTestCert found in WDRTestCertStore. Skipping certificate generation."
)),
Some(1) => Ok(()),
Some(1) => {
println!(
"WDRLocalTestCert not found in WDRTestCertStore. Generating new certificate."
);
Ok(())
}
Some(_) => {
eprintln!("Unknown status code found from certmgr. Generating certificate.");
eprintln!("Unknown status code found from certmgr. Generating new certificate.");
Ok(())
}
None => {
Expand Down

0 comments on commit 016442b

Please sign in to comment.