deferred_config icon indicating copy to clipboard operation
deferred_config copied to clipboard

fix: system tuple for boolean values

Open alexdeleon opened this issue 3 years ago • 0 comments

The bugs occur when you want to use an environment variable for boolean config and the default is true.

For example:

bool_conf: {:system, "BOOLEAN", true, {String, :to_atom}}

The fix is simple, we use a case statement to detect nil instead of using the || operator

alexdeleon avatar Oct 07 '21 15:10 alexdeleon