Skip to content

Fix `check_if_exists` env spec

Compare
Choose a tag to compare
@sascha-wolf sascha-wolf released this 13 Nov 20:21

As it turns out Mix.env always returns :prod for dependencies. Knigge now determines the callers env and puts it into the Options struct to use it instead of a static @env module attribute.

Also add a section on compiler warnings which happen in :test due to the compiler not finding the module.