When running safety with --output bare in an environment with no vulnerabilities in a non-screen environment (eg. within a cron task or piping to a file), a single line is output:
+==============================================================================+
When used as a cron task, this causes an unnecessary email to be sent.
What I Did
Within a cron environment:
>>> safety check --output bare
+==============================================================================+
Description
When running
safety
with--output bare
in an environment with no vulnerabilities in a non-screen environment (eg. within a cron task or piping to a file), a single line is output:+==============================================================================+
When used as a cron task, this causes an unnecessary email to be sent.What I Did
Within a cron environment:
Due to the un-needed output, an email is sent.