bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290)

This commit is contained in:
schwarzichet 2020-02-05 16:16:58 +08:00 committed by GitHub
parent b439a715cb
commit 787b6d548c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
}