Skip to content

Commit

Permalink
fix uv remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed Jun 18, 2024
1 parent dc9e675 commit c553fdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/uv/src/commands/project/remove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub(crate) async fn remove(
.filter(|deps| !deps.is_empty())
.is_some()
{
uv_warnings::warn_user!("`{req}` is not a development dependency; try calling `uv add` without the `--dev` flag");
uv_warnings::warn_user!("`{req}` is not a development dependency; try calling `uv remove` without the `--dev` flag");
}

anyhow::bail!("The dependency `{req}` could not be found in `dev-dependencies`");
Expand All @@ -64,7 +64,7 @@ pub(crate) async fn remove(
.is_some()
{
uv_warnings::warn_user!(
"`{req}` is a development dependency; try calling `uv add --dev`"
"`{req}` is a development dependency; try calling `uv remove --dev`"
);
}

Expand Down

0 comments on commit c553fdb

Please sign in to comment.