Skip to content

Commit

Permalink
Using Logger.warning instead of deprecated Logger.warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Sulej committed Feb 9, 2024
1 parent efcccb5 commit ef82db8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dangers_filter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defmodule ExcellentMigrations.DangersFilter do
|> Enum.uniq()

unless Enum.empty?(safety_assured_types) do
Logger.warn(
Logger.warning(
"Using module attribute @safety_assured is deprecated. Use config comments instead."
)
end
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/tasks/check_safety.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule Mix.Tasks.ExcellentMigrations.CheckSafety do
Enum.each(dangers, fn danger ->
danger
|> ExcellentMigrations.MessageGenerator.build_message()
|> Logger.warn()
|> Logger.warning()
end)

exit({:shutdown, 1})
Expand Down

0 comments on commit ef82db8

Please sign in to comment.