mirror of https://github.com/databricks/cli.git
Fix windows
This commit is contained in:
parent
6b4641c530
commit
bbcbffd7f4
|
@ -78,7 +78,7 @@ func activateVEnv(t *testing.T) {
|
||||||
// we don't have shell to activate venv, updating PATH is enough
|
// we don't have shell to activate venv, updating PATH is enough
|
||||||
|
|
||||||
var venvBinDir string
|
var venvBinDir string
|
||||||
if runtime.GOOS == "Windows" {
|
if runtime.GOOS == "windows" {
|
||||||
venvBinDir = pathlib.Join(venvDir, "Scripts")
|
venvBinDir = pathlib.Join(venvDir, "Scripts")
|
||||||
t.Setenv("PATH", venvBinDir+";"+os.Getenv("PATH"))
|
t.Setenv("PATH", venvBinDir+";"+os.Getenv("PATH"))
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue