Skip to content

Commit

Permalink
Merge pull request #7 from cschlosser/patch-1
Browse files Browse the repository at this point in the history
Use same message format as `crates.io` index for updating a crate
  • Loading branch information
ehuss authored Aug 22, 2021
2 parents 44726c3 + 42d7b69 commit fc86418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reg-index/src/add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pub(crate) fn add_reg(
.with_context(|_| format!("Failed to create or open `{}`.", path.display()))?;
f.write_all(meta_json.as_bytes())
.with_context(|_| format!("Failed to write json entry at `{}`.", path.display()))?;
let msg = format!("Updating crate '{}#{}'", index_pkg.name, index_pkg.vers);
let msg = format!("Updating crate `{}#{}`", index_pkg.name, index_pkg.vers);
// Upload.
if let Some(upload) = upload {
let replaced = upload
Expand Down

0 comments on commit fc86418

Please sign in to comment.