8000 bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290) · python/cpython@787b6d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 787b6d5

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

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)
0