mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
Don't warn for outdated vcpkg if command is autocomplete
This commit is contained in:
parent
0051e7477b
commit
7ed8d4f75e
@ -106,7 +106,11 @@ static void inner(const VcpkgCmdArguments& args)
|
||||
const int exit_code = chdir(paths.root.c_str());
|
||||
#endif
|
||||
Checks::check_exit(VCPKG_LINE_INFO, exit_code == 0, "Changing the working dir failed");
|
||||
|
||||
if (args.command != "autocomplete")
|
||||
{
|
||||
Commands::Version::warn_if_vcpkg_version_mismatch(paths);
|
||||
}
|
||||
|
||||
if (const auto command_function = find_command(Commands::get_available_commands_type_b()))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user