mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:09:00 +08:00
Display the lowercased name for errors in package parsing
This commit is contained in:
parent
779ccb9fa6
commit
7fd71747d7
@ -14,7 +14,8 @@ namespace vcpkg {namespace Input
|
||||
return *spec;
|
||||
}
|
||||
|
||||
System::println(System::color::error, "Error: %s: %s", expected_spec.error_code().message(), package_spec_as_string);
|
||||
// Intentionally show the lowercased string
|
||||
System::println(System::color::error, "Error: %s: %s", expected_spec.error_code().message(), as_lowercase);
|
||||
System::print(example_text);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user