Skip to content

Commit 47cad6b

Browse files
committed
Merge branch 'rNoz-rnoz/custom-exit-status'
2 parents 69048e5 + 25a8e0a commit 47cad6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/credo/check.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ defmodule Credo.Check do
707707

708708
priority = Priority.to_integer(issue_priority)
709709

710-
exit_status_or_category = Params.exit_status(params, check) || issue_category
710+
exit_status_or_category = opts[:exit_status] || Params.exit_status(params, check) || issue_category
711711
exit_status = Check.to_exit_status(exit_status_or_category)
712712

713713
line_no = opts[:line_no]

0 commit comments

Comments
 (0)