File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [ Unreleased]
9
9
10
+ - Fix deprecated Elixir ` Logger.warn() ` to ` Logger.warning() ` .
11
+
10
12
## [ 0.21.0] - 2022-11-19
11
13
12
14
### Fixed
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ defmodule Doctor.Config do
110
110
end
111
111
112
112
defp warn_deprecation ( _bool , val ) do
113
- Logger . warn ( """
113
+ Logger . warning ( """
114
114
:moduledoc_required in #{ Config . config_file ( ) } is a deprecated option. \
115
115
Now running with the equivalent :min_overall_moduledoc_coverage #{ val } \
116
116
but you should replace the deprecated option with the new one to avoid \
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ defmodule Doctor.Reporters.Full do
122
122
"""
123
123
#{ ANSI . red ( ) } Doctor validation has failed because:
124
124
* #{ Enum . map_join ( errs , ".\n * " , & String . capitalize ( & 1 ) ) } .\
125
- #{ ANSI . reset ( ) } )")
125
+ #{ ANSI . reset ( ) }
126
126
"""
127
127
end
128
128
You can’t perform that action at this time.
0 commit comments