Skip to content

Commit

Permalink
action.py: use ::error
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw committed Jun 16, 2022
1 parent a354d47 commit 926538b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions action.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ def _pip_audit(*args):


def _fatal_help(msg):
print(f"❌ {msg}", file=sys.stderr)
subprocess.run(_pip_audit("--help"))
print(f"::error::❌ {msg}")
sys.exit(1)


Expand Down

0 comments on commit 926538b

Please sign in to comment.