Skip to content

Commit b205180

Browse files
committed
Fix issue #21
1 parent bc703b7 commit b205180

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Changelog.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog for VirtualEnvWrapper Powershell
22

3-
## 2020-11.17 (v0.1.2)
3+
## 2020-11-26 (v0.1.3)
4+
* Fix issue #21 due to working branch accidentaly merged on master
5+
6+
## 2020-11-17 (v0.1.2)
47
* Fix bug on Get-VirtualEnvs for user with space in name
58
* Fix uncomplete environment
69

VirtualEnvWrapper.psm1

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
$WORKON_HOME=$Env:WORKON_HOME
2525
$VIRTUALENWRAPPER_HOOK_DIR=''
26-
$Version = "0.2.0"
26+
$Version = "0.1.3"
2727

2828
#
2929
# Set the default path and create the directory if don't exist
@@ -238,7 +238,7 @@ function Workon {
238238
}
239239

240240
if (Get-IsInPythonVenv -eq $true) {
241-
Deactivate
241+
deactivate
242242
}
243243

244244
$activate_path = "$new_pyenv\Scripts\Activate.ps1"
@@ -247,7 +247,7 @@ function Workon {
247247
return
248248
}
249249

250-
Load-Module $activate_path
250+
Import-Module $activate_path
251251

252252
$Env:OLD_PYTHON_PATH = $Env:PYTHON_PATH
253253
$Env:VIRTUAL_ENV = "$new_pyenv"

0 commit comments

Comments
 (0)