Skip to content

Commit

Permalink
Merge pull request #1154 from avinayak/patch-1
Browse files Browse the repository at this point in the history
Remove deprecated module.function() notation
  • Loading branch information
rrrene authored Oct 20, 2024
2 parents 3d9dae8 + 510658f commit 6127e70
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/output.ex
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ defmodule Credo.CLI.Output do
end

def check_tag(check_mod, in_parens) do
check_mod.category()
check_mod.category
|> to_string
|> check_tag(in_parens)
end
Expand Down

0 comments on commit 6127e70

Please sign in to comment.