Skip to content

Fix: Read credentials from env vars without requiring .env file#11

Open
Flujible wants to merge 1 commit into
Sho0pi:masterfrom
Flujible:master
Open

Fix: Read credentials from env vars without requiring .env file#11
Flujible wants to merge 1 commit into
Sho0pi:masterfrom
Flujible:master

Conversation

@Flujible

Copy link
Copy Markdown

initTickli() only called os.Getenv inside the godotenv.Load() success path, so environment variables set by the shell were silently ignored unless a .env file also existed in the working directory. This moves the os.Getenv calls outside the conditional so both approaches work independently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant