Skip to content

Commit

Permalink
Fix calls to deprecated Logger.warn/2 (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
solar05 authored Jun 28, 2023
1 parent 9bef1d6 commit 3960916
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
fail-fast: false
matrix:
include:
- pair:
elixir: 1.10.4
otp: 22.3.4
- pair:
elixir: 1.11.4
otp: 23.2.7
Expand Down
2 changes: 1 addition & 1 deletion lib/plug/cowboy.ex
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ defmodule Plug.Cowboy do
{timeout, opts} = Keyword.pop(opts, :timeout)

if timeout do
Logger.warn("the :timeout option for Cowboy webserver has no effect and must be removed")
Logger.warning("the :timeout option for Cowboy webserver has no effect and must be removed")
end

opts = Keyword.delete(opts, :otp_app)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule Plug.Cowboy.MixProject do
[
app: :plug_cowboy,
version: @version,
elixir: "~> 1.10",
elixir: "~> 1.11",
deps: deps(),
package: package(),
description: @description,
Expand Down

0 comments on commit 3960916

Please sign in to comment.