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

fix: invalid environment variable #271

Merged
merged 3 commits into from
Jun 28, 2023
Merged

Conversation

aymanbagabas
Copy link
Contributor

Check the validity of environment variables when splitting variables by =. Ignore environment variables that don't include an = sign.

Check the validity of environment variables when splitting variables by `=`. Ignore environment variables that don't include an `=` sign.

Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
@codecov
Copy link

codecov bot commented Jun 26, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (7a25c17) 100.00% compared to head (a39c78d) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #271   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          429       430    +1     
=========================================
+ Hits           429       430    +1     
Impacted Files Coverage Δ
env_tomap.go 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@caarlos0 caarlos0 merged commit 0f07b7f into caarlos0:main Jun 28, 2023
12 checks passed
@caarlos0
Copy link
Owner

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants