Skip to content

Commit f7c44d9

Browse files
committed
Merge branch 'Eiji7-patch-1'
2 parents f53941c + 0f02b02 commit f7c44d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/credo/check/params.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ defmodule Credo.Check.Params do
7171

7272
@doc false
7373
def category(params, check_mod) do
74-
params[:__category__] || params[:category] || check_mod.category
74+
params[:__category__] || params[:category] || check_mod.category()
7575
end
7676

7777
@doc false

lib/credo/cli/command/help.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ defmodule Credo.CLI.Command.Help do
5050
|> to_string
5151
|> String.pad_trailing(@ljust)
5252

53-
case module.short_description do
53+
case module.short_description() do
5454
nil ->
5555
UI.puts(" #{padded_name}")
5656

0 commit comments

Comments
 (0)