mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 04:09:01 +08:00
Change message of version mismach to a warning
This commit is contained in:
parent
2d6029e41c
commit
d55036a797
@ -39,7 +39,8 @@ namespace vcpkg::Commands::Version
|
|||||||
{
|
{
|
||||||
if (maj1 != maj2 || min1 != min2 || rev1 != rev2)
|
if (maj1 != maj2 || min1 != min2 || rev1 != rev2)
|
||||||
{
|
{
|
||||||
System::println("Different source is available for vcpkg (%d.%d.%d -> %d.%d.%d). Use "
|
System::println(System::Color::warning,
|
||||||
|
"Warning: Different source is available for vcpkg (%d.%d.%d -> %d.%d.%d). Use "
|
||||||
".\\bootstrap-vcpkg.bat to update.",
|
".\\bootstrap-vcpkg.bat to update.",
|
||||||
maj2,
|
maj2,
|
||||||
min2,
|
min2,
|
||||||
|
Loading…
Reference in New Issue
Block a user