mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -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 res = parse_response::<PublishingTask>(response).await;
|
||||||
let mut task = match res {
|
let mut task = match res {
|
||||||
Ok(task) => task,
|
Ok(task) => task,
|
||||||
Err(err) if err.code == "versionAlreadyExists" => {
|
Err(err) if err.code == "duplicateVersionPublish" => {
|
||||||
println!(
|
println!(
|
||||||
"{} @{}/{}@{}",
|
"{} @{}/{}@{}",
|
||||||
colors::yellow("Skipping, already published"),
|
colors::yellow("Skipping, already published"),
|
||||||
|
|
Loading…
Reference in a new issue