Browse Source

fix(dev): be sure to check sentry's requirements-dev (#62044)

Joshua Li 1 year ago
parent
commit
0b2c4559db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .envrc

+ 1 - 1
.envrc

@@ -193,7 +193,7 @@ venv_name=".venv"
 
 # Use requirements-dev.txt to decide when to cut over to `devenv` tooling.
 # This also provides us with a clean-cut rollback procedure.
-if [ -n "$SENTRY_DEVENV_BETA" ] || grep -Eq "^devenv($|>)" requirements-dev.txt; then
+if [ -n "$SENTRY_DEVENV_BETA" ] || grep -Eq "^devenv($|>)" "${SENTRY_ROOT}/requirements-dev.txt"; then
     # The new hotness. (but not ready yet)
     echo "Using devenv."
     export SENTRY_DEVENV_HOME="${SENTRY_DEVENV_HOME:-$XDG_DATA_HOME/sentry-devenv}"