fix
This commit is contained in:
@@ -7,6 +7,13 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// LoadDotEnv loads the monorepo-root .env into the process environment.
|
||||
// Existing variables are never overridden. Safe for CLI tools that only need
|
||||
// DATABASE_URL without a full config.Load (production often has no .env file).
|
||||
func LoadDotEnv() {
|
||||
loadDotEnv()
|
||||
}
|
||||
|
||||
// loadDotEnv loads the monorepo-root .env into the process environment.
|
||||
// Existing variables (including empty ones set by tests) are never overridden.
|
||||
// Missing file is a no-op — production typically injects env without a file.
|
||||
|
||||
Reference in New Issue
Block a user