Skip to content

Commit

Permalink
Merge pull request #743 from epage/fix
Browse files Browse the repository at this point in the history
fix: Block for crates.io, not other registries
  • Loading branch information
epage authored Jan 9, 2024
2 parents 037d936 + f3ccae0 commit 6063376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ops/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub fn wait_for_publish(
dry_run: bool,
) -> CargoResult<()> {
if !dry_run {
if registry.is_none() {
if registry.is_some() {
// HACK: `index` never reports crates as present for alternative registries
log::debug!("Not waiting for publish as that is only supported for crates.io; ensure you are using at least cargo v1.66 which will wait for you.");
return Ok(());
Expand Down

0 comments on commit 6063376

Please sign in to comment.