Skip to content

Commit

Permalink
Merge pull request #96 from inoas-nbw/patch-1
Browse files Browse the repository at this point in the history
fix elixir 1.15 deprecation warning on Logger.warn() calls
  • Loading branch information
chrismccord authored Jan 18, 2024
2 parents 2298fd3 + 3295cf8 commit 75da5f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tailwind.ex
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ defmodule Tailwind do
@doc false
def start(_, _) do
unless Application.get_env(:tailwind, :version) do
Logger.warn("""
Logger.warning("""
tailwind version is not configured. Please set it in your config files:
config :tailwind, :version, "#{latest_version()}"
Expand All @@ -83,7 +83,7 @@ defmodule Tailwind do
:ok

{:ok, version} ->
Logger.warn("""
Logger.warning("""
Outdated tailwind version. Expected #{configured_version}, got #{version}. \
Please run `mix tailwind.install` or update the version in your config files.\
""")
Expand Down

0 comments on commit 75da5f2

Please sign in to comment.