Skip to content

Commit 6ed61fa

Browse files
authored
envrc was using undefined variables (#94468)
1 parent 1777eee commit 6ed61fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.envrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# initialization (e.g. activating the venv) or giving recommendations on how to reach the desired state.
55
# It also sets useful environment variables.
66
# If you'd like to override or set any custom environment variables, this .envrc will read a .env file at the end.
7-
set -e
7+
set -eu
88

99
# Upgrading Mac can uninstall the Command Line Tools, thus, removing our access to git
1010
# The message talks about xcrun, however, we can use the lack of git as a way to know that we need this
@@ -188,7 +188,7 @@ python3 -m tools.docker_memory_check
188188
if [ "${PWD##*/}" = "sentry" ]; then
189189
debug "Checking node..."
190190

191-
if [ "${SENTRY_DEVENV_SKIP_FRONTEND}" != "1" ]; then
191+
if [ "${SENTRY_DEVENV_SKIP_FRONTEND:-}" != "1" ]; then
192192
if ! require node; then
193193
die "You don't seem to have node installed. Please run devenv sync."
194194
fi

0 commit comments

Comments
 (0)