Check for pipenv and error out if not present
This commit is contained in:
parent
9dbc6cd180
commit
0535a45bd9
@ -20,7 +20,11 @@ fi
|
|||||||
rm -rf ./node_modules
|
rm -rf ./node_modules
|
||||||
|
|
||||||
if [ "${CREATE_VENV}" = "true" ]; then
|
if [ "${CREATE_VENV}" = "true" ]; then
|
||||||
install_pipenv
|
# Ensure pipenv is installed
|
||||||
|
if ! check_system_pip_for pipenv; then
|
||||||
|
echo "ERROR: pipenv is required but is not present"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
create_virtual_environment
|
create_virtual_environment
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user