File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,26 +188,12 @@ for /d %%d in ("%SCRIPT_DIR%\build*") do (
188188exit /b 0
189189
190190rem ##
191- rem # Runs analytics validation via bash if available, otherwise does basic checks .
191+ rem # Runs analytics validation via validate.bat .
192192rem ##
193193:run_analytics_validation
194- where bash > nul 2 > nul
195- if errorlevel 1 (
196- call :log_warning " 'bash' not found. Performing basic tool validation..."
197- call :validate_basic_tools
198- exit /b %errorlevel%
199- )
200-
201- rem Bash is available - normalize line endings and run validation script
202- if exist " %SCRIPT_DIR% \analytics\utils\validate.sh" (
203- bash -lc " sed -i 's/\r$//' '%SCRIPT_DIR% /analytics/utils/validate.sh' 2>/dev/null || true; sed -i 's/\r$//' '%SCRIPT_DIR% /analytics'/*.sh 2>/dev/null || true; sed -i 's/\r$//' '%SCRIPT_DIR% /analytics/utils'/*.sh 2>/dev/null || true; sed -i 's/\r$//' '%SCRIPT_DIR% '/*.sh 2>/dev/null || true" > nul 2 > nul
204- bash " %SCRIPT_DIR% \analytics\utils\validate.sh"
205- exit /b %errorlevel%
206- ) else (
207- call :log_warning " Analytics validation script not found. Continuing with basic checks..."
208- call :validate_basic_tools
209- exit /b %errorlevel%
210- )
194+ rem Use the full check
195+ call " %SCRIPT_DIR% \analytics\utils\validate.bat"
196+ exit /b %errorlevel%
211197
212198rem ##
213199rem # Validates that basic required tools are available.
You can’t perform that action at this time.
0 commit comments