Disable metrics in bootstrap. (#33350)

This commit is contained in:
Billy O'Neal 2023-08-24 16:20:42 -07:00 committed by GitHub
parent ef19b3e8bb
commit 2871ba731a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ if ($LASTEXITCODE -ne 0)
throw
}
& "$vcpkgRootDir\vcpkg.exe" version
& "$vcpkgRootDir\vcpkg.exe" version --disable-metrics
if ($disableMetrics)
{

View File

@ -250,7 +250,7 @@ else
cp "$buildDir/vcpkg" "$vcpkgRootDir/"
fi
"$vcpkgRootDir/vcpkg" version
"$vcpkgRootDir/vcpkg" version --disable-metrics
# Apply the disable-metrics marker file.
if [ "$vcpkgDisableMetrics" = "ON" ]; then