Skip to content

return an empty env var slice instead of nil#290

Merged
thirdeyenick merged 1 commit intomainfrom
fix-empty-env-var-slice
Oct 1, 2025
Merged

return an empty env var slice instead of nil#290
thirdeyenick merged 1 commit intomainfrom
fix-empty-env-var-slice

Conversation

@thirdeyenick
Copy link
Contributor

When appending two empty env var slices with slices.Concat the returned result is nil. We want an empty env var slice being returned due to API behaviour.

When appending two empty env var slices with `slices.Concat` the returned result is `nil`. We want an empty env var slice being returned due to API behaviour.
@thirdeyenick thirdeyenick merged commit 42de2fe into main Oct 1, 2025
3 checks passed
@thirdeyenick thirdeyenick deleted the fix-empty-env-var-slice branch October 1, 2025 09:44
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