[bugfix] : virtual env was not generating correctly
This commit is contained in:
parent
affbbba82b
commit
934c99809a
@ -5,7 +5,7 @@
|
|||||||
# #
|
# #
|
||||||
###################################################################
|
###################################################################
|
||||||
|
|
||||||
_CA__VERSION=1.0.0
|
_CA__VERSION=1.0.1
|
||||||
_CA__DEPENDENCIES=(code-activator fzf jq git)
|
_CA__DEPENDENCIES=(code-activator fzf jq git)
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
@ -40,7 +40,7 @@ _CA__SELECT_VIRTUAL_ENV() {
|
|||||||
_CA__INIT_VIRTUAL_ENV() {
|
_CA__INIT_VIRTUAL_ENV() {
|
||||||
local PROJECT_PATH="$1"
|
local PROJECT_PATH="$1"
|
||||||
local ENV_VERSION="$2"
|
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] ]]\
|
[[ $ENV_VERSION =~ ^[0-9] ]]\
|
||||||
&& _CA__INIT_NODE_ENV $ENV_PATH $ENV_VERSION \
|
&& _CA__INIT_NODE_ENV $ENV_PATH $ENV_VERSION \
|
||||||
|
Loading…
Reference in New Issue
Block a user