Skip to content

Commit c806a62

Browse files
Remove redundant activate.bat output (#12160)
## Summary See: pypa/virtualenv#2801. Closes #12006. ## Test Plan Ran `.venv\Scripts\activate.bat` on my Windows machine.
1 parent f2ff218 commit c806a62

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/uv-virtualenv/src/activator/activate.bat

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
@REM WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

2222
@REM This file is UTF-8 encoded, so we need to update the current code page while executing it
23-
@for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do (
24-
@set _OLD_CODEPAGE=%%a
25-
)
23+
@for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do @set _OLD_CODEPAGE=%%a
2624
@if defined _OLD_CODEPAGE (
2725
@"%SystemRoot%\System32\chcp.com" 65001 > nul
2826
)

0 commit comments

Comments
 (0)