[cipd] Suppress findstr stdout.

We only care about %ERRORLEVEL%.

R=bryner@google.com

Change-Id: Icb8770f5948f5744b451ff475d363e52858aa135
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4190130
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
changes/30/4190130/2
Vadim Shtayura 2 years ago committed by LUCI CQ
parent a7b20b34f8
commit 939cac7adb

@ -28,7 +28,7 @@ if exist "%PLATFORM_OVERRIDE_FILE%" (
:: It has only "instance_id" as the other field (looking like a base64 string),
:: so mismatches are very unlikely.
set INSTALLED_VERSION_FILE=%~dp0.versions\.cipd_client.exe.cipd_version
findstr /m "infra/tools/cipd/%CIPD_PLATFORM%" "%INSTALLED_VERSION_FILE%" 2>nul
findstr /m "infra/tools/cipd/%CIPD_PLATFORM%" "%INSTALLED_VERSION_FILE%" 1>nul 2>nul
if %ERRORLEVEL% neq 0 (
if exist "%INSTALLED_VERSION_FILE%" (
echo Detected CIPD client platform change to %CIPD_PLATFORM%. 1>&2

Loading…
Cancel
Save