Skip to content

Commit

Permalink
Merge branch 'Eiji7-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Nov 4, 2024
2 parents f53941c + 0f02b02 commit f7c44d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/credo/check/params.ex
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ defmodule Credo.Check.Params do

@doc false
def category(params, check_mod) do
params[:__category__] || params[:category] || check_mod.category
params[:__category__] || params[:category] || check_mod.category()
end

@doc false
Expand Down
2 changes: 1 addition & 1 deletion lib/credo/cli/command/help.ex
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ defmodule Credo.CLI.Command.Help do
|> to_string
|> String.pad_trailing(@ljust)

case module.short_description do
case module.short_description() do
nil ->
UI.puts(" #{padded_name}")

Expand Down

0 comments on commit f7c44d9

Please sign in to comment.