Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: getenv #154

Merged
merged 1 commit into from
Jan 10, 2025
Merged

refactor: getenv #154

merged 1 commit into from
Jan 10, 2025

Conversation

daabr
Copy link
Contributor

@daabr daabr commented Jan 10, 2025

Change this:

os.getenv("key") or "value"

To this:

os.getenv("key", "value")

The result is the same, but the former is a style mistake given the existence of the latter.

@daabr daabr requested a review from pashafateev January 10, 2025 09:07
@daabr daabr merged commit a43315b into main Jan 10, 2025
4 checks passed
@daabr daabr deleted the daniel/fix-getenv-or branch January 10, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants