Skip to content

Commit

Permalink
Credo warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
angelikatyborska committed Jul 24, 2024
1 parent b3ce605 commit 52912b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/bitstyles_phoenix/bitstyles.ex
Original file line number Diff line number Diff line change
Expand Up @@ -162,18 +162,18 @@ defmodule BitstylesPhoenix.Bitstyles do
""")
end

def version() do
def version do
version_to_tuple(version_string())
end

def version_string() do
def version_string do
bitstyles_version_override = Process.get(:bitstyles_phoenix_bistyles_version)

bitstyles_version_override ||
Application.get_env(:bitstyles_phoenix, :bitstyles_version, @default_version)
end

def default_version() do
def default_version do
version_to_tuple(@default_version)
end

Expand Down

0 comments on commit 52912b6

Please sign in to comment.