Skip to content

Fix Environment Variable Checks

Latest
Compare
Choose a tag to compare
@wyhaines wyhaines released this 09 Jun 23:51
· 2 commits to main since this release

Some ill-conceived specs led to a false sense of security about the correct implementation of the environment variable checks. This release hopefully fixes them, so that none of the checks result in a positive result if the environment variable is not defined at all. i.e. if_disabled? should not be true if the environment variable is not defined. It should only be true if the variable is defined, and the value is a falsey value.

This may be a breaking change.