File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,14 @@ echo "activateCondaEnvironment: CONDA_PREFIX=${CONDA_PREFIX}"
3737echo " activateCondaEnvironment: Current conda environment=${CONDA_DEFAULT_ENV} "
3838echo " activateCondaEnvironment: Target conda environment=${CODEGRAPH_CONDA_ENVIRONMENT} "
3939
40- if [ " ${CONDA_DEFAULT_ENV} " = " ${CODEGRAPH_CONDA_ENVIRONMENT} " ] ; then
41- echo " activateCondaEnvironment: Skipping activation. Target conda environment ${CODEGRAPH_CONDA_ENVIRONMENT} is already activated."
42- # "return" needs to be used here instead of "exit".
43- # This script is included in another script by using "source".
44- # "exit" would end the main script, "return" just ends this sub script.
45- return 0
46- fi
40+ # TODO Find out, if conda updates (when needed) should also be done here instead of just returning 0.
41+ # if [ "${CONDA_DEFAULT_ENV}" = "${CODEGRAPH_CONDA_ENVIRONMENT}" ] ; then
42+ # echo "activateCondaEnvironment: Skipping activation. Target conda environment ${CODEGRAPH_CONDA_ENVIRONMENT} is already activated."
43+ # # "return" needs to be used here instead of "exit".
44+ # # This script is included in another script by using "source".
45+ # # "exit" would end the main script, "return" just ends this sub script.
46+ # return 0
47+ # fi
4748
4849# Include operation system function to for example detect Windows.
4950source " ${SCRIPTS_DIR} /operatingSystemFunctions.sh"
You can’t perform that action at this time.
0 commit comments