Apply quokka blocks rule

This commit is contained in:
Claudio Ortolina
2025-05-28 19:51:54 +01:00
parent ae34909c1f
commit 1f64c71efa
9 changed files with 21 additions and 25 deletions
+3 -3
View File
@@ -13,7 +13,9 @@ defmodule Mix.Tasks.Tailwind.UpdateVersion do
current_version = Release.fetch_current_version()
latest_version = Release.fetch_latest_version!()
if current_version !== latest_version do
if current_version === latest_version do
Mix.Shell.IO.info("tailwind configuration is up to date (#{current_version})")
else
Mix.Shell.IO.info(
"Updating tailwind configuration from #{current_version} to #{latest_version}"
)
@@ -22,8 +24,6 @@ defmodule Mix.Tasks.Tailwind.UpdateVersion do
Path.expand("config/config.exs", File.cwd!())
Release.update_config_file!(config_file, current_version, latest_version)
else
Mix.Shell.IO.info("tailwind configuration is up to date (#{current_version})")
end
end
end