diffplug / diffplug/selfie

When env vars have different value depending on case, throw error

Open
#543 0 comments 0 reactions 0 assignees View on GitHub
bug jvm py
Dominant language
Kotlin
Stars
101
Forks
18
PR merge metrics
No merged PRs in 30d

Description

This has the confusing behavior that variables with a lowercase key trump an uppercase key

https://github.com/diffplug/selfie/blob/e6fb9e6a33b650c72aab3d5459ae1c22ab865cda/jvm/selfie-runner-junit5/src/main/kotlin/com/diffplug/selfie/junit5/SelfieSettingsAPI.kt#L31-L38

I think it's good to be case-insensitive, but if both variables exist and disagree it should generate an easy-to-understand error.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.