Skip to content

Commit 66e79fb

Browse files
authored
Fix compilation warnings on newest Elixir (#138)
1 parent 94d1b2f commit 66e79fb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
use Mix.Config
1+
import Config
22

33
config :phoenix, :json_library, Jason

lib/phoenix_live_reload/application.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ defmodule Phoenix.LiveReloader.Application do
2929
{:ok, pid}
3030

3131
other ->
32-
Logger.warn("""
32+
Logger.warning("""
3333
Could not start Phoenix live-reload because we cannot listen to the file system.
3434
You don't need to worry! This is an optional feature used during development to
3535
refresh your browser when you save files and it does not affect production.

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule PhoenixLiveReload.Mixfile do
77
[
88
app: :phoenix_live_reload,
99
version: @version,
10-
elixir: "~> 1.6",
10+
elixir: "~> 1.11",
1111
deps: deps(),
1212

1313
# Hex

0 commit comments

Comments
 (0)