Skip to content

Commit 061ac93

Browse files
committed
win bug fixes
1 parent 6965864 commit 061ac93

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

win/common-utils.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,12 @@ function Get-MavenCommand {
207207
throw "Maven not found in PATH and 'mvnw.cmd' not present under $RepoDir. Install Maven or ensure the wrapper exists."
208208
}
209209

210-
function Get-VenvPython {
211-
param([Parameter(Mandatory)][string]$VenvDir)
212-
$py = Join-Path $VenvDir "Scripts\python.exe"
213-
if (Test-Path $py) { return $py }
214-
throw "Python interpreter not found in venv: $VenvDir"
215-
}
210+
# function Get-VenvPython {
211+
# param([Parameter(Mandatory)][string]$VenvDir)
212+
# $py = Join-Path $VenvDir "Scripts\python.exe"
213+
# if (Test-Path $py) { return $py }
214+
# throw "Python interpreter not found in venv: $VenvDir"
215+
# }
216216

217217
function Set-PythonCmd {
218218
$candidates = @(

win/env-setup-run.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function Setup-Web-Python {
105105
pip3 install -r requirements.txt
106106
Log-Line "✅ Dependencies installed" $NOW_RUN_LOG_FILE
107107

108-
$env:PATH = (Join-Path $venv 'Scripts') + ";" + $env:PATH
108+
#$env:PATH = (Join-Path $venv 'Scripts') + ";" + $env:PATH
109109
$env:BROWSERSTACK_USERNAME = $BROWSERSTACK_USERNAME
110110
$env:BROWSERSTACK_ACCESS_KEY = $BROWSERSTACK_ACCESS_KEY
111111

0 commit comments

Comments
 (0)