Skip to content

Commit

Permalink
Merge branch 'rNoz-rnoz/custom-exit-status'
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Nov 20, 2024
2 parents 69048e5 + 25a8e0a commit 47cad6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/credo/check.ex
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ defmodule Credo.Check do

priority = Priority.to_integer(issue_priority)

exit_status_or_category = Params.exit_status(params, check) || issue_category
exit_status_or_category = opts[:exit_status] || Params.exit_status(params, check) || issue_category
exit_status = Check.to_exit_status(exit_status_or_category)

line_no = opts[:line_no]
Expand Down

0 comments on commit 47cad6b

Please sign in to comment.