Macro rss2email_lib::warn
source · macro_rules! warn { ( $($arg:tt)+ ) => { ... }; }
Expand description
Calls log::warn!
if executed outside of Github Actions. If it is executed inside
of GA, it instead panics. This is done to make sure that no warnings are missed during a
workflow run. GA sets an environment variable CI=TRUE
which is how I determine if this
should panic or not.