Skip to content

Commit 2f05387

Browse files
committed
Prints-to-panics
1 parent 619f004 commit 2f05387

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ci/publish.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ fn verify(crates: &[Crate]) {
410410
fn verify_crates_io(krate: &Crate) {
411411
let name = &krate.name;
412412
let Some(owners) = curl(&format!("https://crates.io/api/v1/crates/{name}/owners")) else {
413-
println!(
413+
panic!(
414414
"
415415
failed to get owners for {name}
416416
@@ -424,7 +424,7 @@ that the trusted publishing workflow must be configured as well.
424424

425425
// This is the id of the `wasmtime-publish` user on crates.io
426426
if !owners.contains("\"id\":73222,") {
427-
println!(
427+
panic!(
428428
"
429429
crate {name} is not owned by wasmtime-publish, please run:
430430
@@ -435,7 +435,7 @@ crate {name} is not owned by wasmtime-publish, please run:
435435
}
436436

437437
if owners.split("\"id\"").count() != 2 {
438-
println!(
438+
panic!(
439439
"
440440
crate {name} is not exclusively owned by wasmtime-publish
441441

0 commit comments

Comments
 (0)