Open waahm7 opened 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.84%. Comparing base (
2add521
) to head (e5e7776
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Since we don't need to differentiate between empty values and unset values, treat empty environment values as unset.
This is a pretty big assumption since you're not only asserting it for right now, but for everything that comes in the future too. I don't really agree with this.
Description of changes:
aws_get_environment_value
is error-prone because one of the frequent use cases is to check an environment variable, else check other source like config file. In that case, the previous implementation required us to check three cases:By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.