josh 3 лет назад
Родитель
Сommit
109522ac37
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      .envrc

+ 3 - 3
.envrc

@@ -111,9 +111,9 @@ export SENTRY_UI_HOT_RELOAD=1
 
 
 ### You can override the exported variables with a .env file
 ### You can override the exported variables with a .env file
 # All exports should happen before here unless they're safeguarded (see devenv error reporting below)
 # All exports should happen before here unless they're safeguarded (see devenv error reporting below)
-if [ -f '.env' ]; then
-    debug "Loading variables from .env file..."
-    dotenv .env
+if [ -f "${HERE}/.env" ]; then
+    debug "Loading variables from ${HERE}/.env"
+    dotenv "${HERE}/.env"
 fi
 fi
 
 
 ## Notify of reporting to Sentry
 ## Notify of reporting to Sentry