mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 09:59:01 +08:00
Survey prompts are now shown only for intall/remove/export/update
This commit is contained in:
parent
d45c9779a7
commit
cf199dba42
@ -113,7 +113,7 @@ static void inner(const VcpkgCmdArguments& args)
|
||||
#endif
|
||||
Checks::check_exit(VCPKG_LINE_INFO, exit_code == 0, "Changing the working dir failed");
|
||||
|
||||
if (args.command != "autocomplete")
|
||||
if (args.command == "install" || args.command == "remove" || args.command == "export" || args.command == "update")
|
||||
{
|
||||
Commands::Version::warn_if_vcpkg_version_mismatch(paths);
|
||||
std::string surveydate = *GlobalState::g_surveydate.lock();
|
||||
|
Loading…
Reference in New Issue
Block a user