🐛 fix(scripts): escape parentheses in sync_standards output

This commit is contained in:
csh 2025-12-23 10:39:20 +08:00
parent 3958cad2ef
commit 1fa3e2a3f0
1 changed files with 2 additions and 2 deletions

View File

@ -61,12 +61,12 @@ if "%SYNC_STANDARDS_INNER%"=="" (
set "AGENTS_SRC=%AGENTS_SRC_ROOT%\%AGENTS_NS%"
if not exist "%AGENTS_SRC%" (
rem Backward-compatible fallback: older snapshots used <snapshot>\.agents\* directly.
rem Backward-compatible fallback: older snapshots used ^<snapshot^>\.agents\* directly.
if exist "%AGENTS_SRC_ROOT%\index.md" if exist "%AGENTS_SRC_ROOT%\auth.md" (
set "AGENTS_SRC=%AGENTS_SRC_ROOT%"
) else (
echo ERROR: Standards snapshot not found at "%AGENTS_SRC%".
echo Hint: set AGENTS_NS to one of the subdirs under "%AGENTS_SRC_ROOT%" (e.g. tsl/cpp).
echo Hint: set AGENTS_NS to one of the subdirs under "%AGENTS_SRC_ROOT%" ^(e.g. tsl/cpp^).
exit /b 1
)
)