From 787b6d548c250f36df6d3f3179f60d754c8aa5e3 Mon Sep 17 00:00:00 2001 From: schwarzichet <15522755+schwarzichet@users.noreply.github.com> Date: Wed, 5 Feb 2020 16:16:58 +0800 Subject: bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290) --- Lib/venv/scripts/common/Activate.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/venv/scripts/common/Activate.ps1 b/Lib/venv/scripts/common/Activate.ps1 index 699c840..98cb1b8 100644 --- a/Lib/venv/scripts/common/Activate.ps1 +++ b/Lib/venv/scripts/common/Activate.ps1 @@ -168,7 +168,6 @@ if ($VenvDir) { } else { Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir." $VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/") - $VenvDir = $VenvDir.Insert($VenvDir.Length, "/") Write-Verbose "VenvDir=$VenvDir" } -- cgit v0.12