[bugfix] : virtual env was not generating correctly

This commit is contained in:
yage 2022-01-10 07:08:28 -07:00
parent affbbba82b
commit 934c99809a
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
# #
###################################################################
_CA__VERSION=1.0.0
_CA__VERSION=1.0.1
_CA__DEPENDENCIES=(code-activator fzf jq git)
#####################################################################

View File

@ -40,7 +40,7 @@ _CA__SELECT_VIRTUAL_ENV() {
_CA__INIT_VIRTUAL_ENV() {
local PROJECT_PATH="$1"
local ENV_VERSION="$2"
local ENV_PATH="$PROJECT_PATH/$_CA__VIRTUAL_ENV_NAME"
local ENV_PATH="$PROJECT_PATH/$CA__VIRTUAL_ENV"
[[ $ENV_VERSION =~ ^[0-9] ]]\
&& _CA__INIT_NODE_ENV $ENV_PATH $ENV_VERSION \