Skip to content

Commit

Permalink
Fix configured_version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gigitsu committed Jul 25, 2024
1 parent a4133dd commit e0ae000
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 @@ -103,8 +103,8 @@ defmodule Tailwind do
Returns the configured tailwind version.
"""
def configured_version do
default_version =
if Application.get_env(:tailwind, :path), do: bin_version(), else: latest_version()
{:ok, default_version} =
if Application.get_env(:tailwind, :path), do: bin_version(), else: {:ok, latest_version()}

Application.get_env(:tailwind, :version, default_version)
end
Expand Down

0 comments on commit e0ae000

Please sign in to comment.