@echo off
pushd "%~dp0"
for /f "tokens=*" %%f in ('dir /s /b *.tt') do (
    echo>&2 dotnet t4 "%%f"
    dotnet t4 "%%f" || goto :end
)
:end
popd
exit /b %ERRORLEVEL%

@echo off
pushd "%~dp0"
for /f "tokens=*" %%f in ('dir /s /b *.tt') do (
    echo>&2 dotnet t4 "%%f"
    dotnet t4 "%%f" || goto :end
)
:end
popd

Revert "Fix error propagation in T4 batch script"
Revert "Fix error propagation in T4 batch script" [ci skip]

This reverts commit 934fb39dd9be3b91138faa08ac7f54fafc608553.
