We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c627952 commit 53cbdd0Copy full SHA for 53cbdd0
src/venv-cli/venv.sh
@@ -266,7 +266,9 @@ venv::install() {
266
267
# Clear the environment before running pip install to avoid orphaned packages
268
# https://github.com/SallingGroup-AI-and-ML/venv-cli/issues/9
269
- venv::clear
+ if ! venv::clear; then
270
+ return "${_fail}"
271
+ fi
272
273
venv::color_echo "${_green}" "Installing requirements from ${requirements_file}"
274
if ! pip install --require-virtualenv --use-pep517 -r "${requirements_file}" "$@"; then
0 commit comments