mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
fix: error code used for duplicate version publish (#21457)
This commit is contained in:
parent
7d5ddc462c
commit
9eb25e3cff
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ async fn perform_publish(
|
|||
let res = parse_response::<PublishingTask>(response).await;
|
||||
let mut task = match res {
|
||||
Ok(task) => task,
|
||||
Err(err) if err.code == "versionAlreadyExists" => {
|
||||
Err(err) if err.code == "duplicateVersionPublish" => {
|
||||
println!(
|
||||
"{} @{}/{}@{}",
|
||||
colors::yellow("Skipping, already published"),
|
||||
|
|
Loading…
Reference in a new issue