Make 'v' prefix cyan in overlap warnings (#15259)

This commit is contained in:
Charlie Marsh 2025-08-13 22:41:28 +01:00 committed by GitHub
parent 3cc895a99a
commit c514e0eda9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -62,12 +62,12 @@ impl Locks {
warn_user!( warn_user!(
"The module `{}` is provided by more than one package, \ "The module `{}` is provided by more than one package, \
which causes an install race condition and can result in a broken module. \ which causes an install race condition and can result in a broken module. \
Consider removing your dependency on either `{}` (v{}) or `{}` (v{}).", Consider removing your dependency on either `{}` ({}) or `{}` ({}).",
module.simplified_display().green(), module.simplified_display().green(),
wheel_a.name.cyan(), wheel_a.name.cyan(),
wheel_a.version.cyan(), format!("v{}", wheel_a.version).cyan(),
wheel_b.name.cyan(), wheel_b.name.cyan(),
wheel_b.version.cyan(), format!("v{}", wheel_b.version).cyan()
); );
} }
} }