mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:06:49 +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
|
#endif
|
||||||
Checks::check_exit(VCPKG_LINE_INFO, exit_code == 0, "Changing the working dir failed");
|
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);
|
Commands::Version::warn_if_vcpkg_version_mismatch(paths);
|
||||||
std::string surveydate = *GlobalState::g_surveydate.lock();
|
std::string surveydate = *GlobalState::g_surveydate.lock();
|
||||||
|
Loading…
Reference in New Issue
Block a user