From 52912b6d72105e7d3c00f5e52f38c82b718a1a15 Mon Sep 17 00:00:00 2001 From: Angelika Tyborska Date: Wed, 24 Jul 2024 10:02:48 +0200 Subject: [PATCH] Credo warnings --- lib/bitstyles_phoenix/bitstyles.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bitstyles_phoenix/bitstyles.ex b/lib/bitstyles_phoenix/bitstyles.ex index f72b384..cd13bdf 100644 --- a/lib/bitstyles_phoenix/bitstyles.ex +++ b/lib/bitstyles_phoenix/bitstyles.ex @@ -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