We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f53941c + 0f02b02 commit f7c44d9Copy full SHA for f7c44d9
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/command/help.ex
@@ -50,7 +50,7 @@ defmodule Credo.CLI.Command.Help do
50
|> to_string
51
|> String.pad_trailing(@ljust)
52
53
- case module.short_description do
+ case module.short_description() do
54
nil ->
55
UI.puts(" #{padded_name}")
56
0 commit comments