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 336b9a7 commit 46d7fcbCopy full SHA for 46d7fcb
main.sh
@@ -27,9 +27,12 @@ else
27
poetry_=poetry
28
fi
29
30
-$poetry_ config virtualenvs.create "${VIRTUALENVS_CREATE}"
31
-$poetry_ config virtualenvs.in-project "${VIRTUALENVS_IN_PROJECT}"
32
-$poetry_ config virtualenvs.path "${VIRTUALENVS_PATH}"
+# Expand any "~" in VIRTUALENVS_PATH
+VIRTUALENVS_PATH="${VIRTUALENVS_PATH/#\~/$HOME}"
+
33
+$poetry_ config virtualenvs.create ${VIRTUALENVS_CREATE}
34
+$poetry_ config virtualenvs.in-project ${VIRTUALENVS_IN_PROJECT}
35
+$poetry_ config virtualenvs.path ${VIRTUALENVS_PATH}
36
37
config="$($poetry_ config --list)"
38
0 commit comments