Skip to content

Commit 3ac0abe

Browse files
committed
"set -u" before "set -x"
1 parent e277720 commit 3ac0abe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bin/anyenv-update

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
#
44
# Usage: anyenv update
55

6-
set -eo pipefail
7-
[ -n "$ANYENV_DEBUG" ] && set -x
8-
set -u
6+
set -euo pipefail
7+
[ -n "${ANYENV_DEBUG-}" ] && set -x
98

109
anyenv_update () {
1110
if [ -d .git ]; then

0 commit comments

Comments
 (0)