Skip to content

Commit c8f0b1b

Browse files
author
Michael Saki
committed
Remove unnecessary nounset flipping logic
1 parent 0be1f63 commit c8f0b1b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

setup-env

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ END_OF_LINE
166166
exit 1
167167
fi
168168

169-
set +o nounset
170169
# Determine the virtual environment name
171170
if [ -n "$VENV_NAME" ]; then
172171
# Use the user-provided environment name
@@ -175,7 +174,6 @@ else
175174
# Set the environment name to the last part of the working directory.
176175
env_name=${PWD##*/}
177176
fi
178-
set -o nounset
179177

180178
# List Python versions and select one interactively
181179
if [ $LIST_VERSIONS -ne 0 ]; then

0 commit comments

Comments
 (0)