Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 787b6d5

Browse files
authored
bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290)
1 parent b439a71 commit 787b6d5

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Lib/venv/scripts/common/Activate.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ if ($VenvDir) {
168168
} else {
169169
Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir."
170170
$VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/")
171-
$VenvDir = $VenvDir.Insert($VenvDir.Length, "/")
172171
Write-Verbose "VenvDir=$VenvDir"
173172
}
174173

0 commit comments

Comments
 (0)