From 9e4354fb5581a2e7a4d2cb46843378aa55f7db3b Mon Sep 17 00:00:00 2001 From: John Colvin Date: Tue, 18 Jul 2023 23:36:03 -0400 Subject: [PATCH] fix buid: Don't goto ERROR just bc venv already exists This seems like a typo --- tools/ensure_venv.cmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ensure_venv.cmd b/tools/ensure_venv.cmd index bf25fed42..054874648 100644 --- a/tools/ensure_venv.cmd +++ b/tools/ensure_venv.cmd @@ -8,7 +8,7 @@ if exist %venv_dir% ( echo Removing python virtual environment rmdir /S /Q %venv_dir% ) else ( - GOTO ERROR + GOTO END ) ) @@ -19,6 +19,7 @@ echo Creating python virtual environment @call %venv_dir%\Scripts\pip install -r %~dp0..\requirements.txt @call deactivate +:END EXIT /B %ERRORLEVEL% :ERROR