You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PREPARE_CONDA_ENVIRONMENT=${PREPARE_CONDA_ENVIRONMENT:-"true"}# Wether to prepare then Conda environment if needed (default, "true") or use an already prepared Conda environment ("false")
40
+
PREPARE_CONDA_ENVIRONMENT=${PREPARE_CONDA_ENVIRONMENT:-"true"}# Wether to prepare a Python environment with Conda if needed (default, "true") or use an already prepared Conda environment ("false")
41
41
42
-
if [ "${CONDA_DEFAULT_ENV}"="${CODEGRAPH_CONDA_ENVIRONMENT}" ] && [ "${PREPARE_CONDA_ENVIRONMENT}"="false" ];then
43
-
echo"activateCondaEnvironment: Skipping activation. Target conda environment ${CODEGRAPH_CONDA_ENVIRONMENT} is already activated."
42
+
if [ "${PREPARE_CONDA_ENVIRONMENT}"="false" ];then
43
+
echo"activateCondaEnvironment: Skipping activation. ${PREPARE_CONDA_ENVIRONMENT} is set to false."
44
44
# "return" needs to be used here instead of "exit".
45
45
# This script is included in another script by using "source".
46
46
# "exit" would end the main script, "return" just ends this sub script.
0 commit comments