We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d9dae8 + 510658f commit 6127e70Copy full SHA for 6127e70
lib/credo/check/params.ex
@@ -71,7 +71,7 @@ defmodule Credo.Check.Params do
71
72
@doc false
73
def category(params, check_mod) do
74
- params[:__category__] || params[:category] || check_mod.category()
+ params[:__category__] || params[:category] || check_mod.category
75
end
76
77
lib/credo/cli/output.ex
@@ -33,7 +33,7 @@ defmodule Credo.CLI.Output do
33
34
35
def check_tag(check_mod, in_parens) do
36
- check_mod.category()
+ check_mod.category
37
|> to_string
38
|> check_tag(in_parens)
39
0 commit comments