Don't use parentheses on 0-arity function definitions

This commit is contained in:
Claudio Ortolina
2025-02-20 15:20:44 +00:00
parent b2daa561d7
commit 184c110599
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ defmodule Mix.Tasks.MusicLibrary.Prod.Helpers do
end
end
defp flyctl_installed?() do
defp flyctl_installed? do
System.find_executable("flyctl")
end
end
+1 -1
View File
@@ -37,7 +37,7 @@ defmodule MusicLibrary.Application do
:ok
end
defp skip_migrations?() do
defp skip_migrations? do
# By default, sqlite migrations are run when using a release
System.get_env("RELEASE_NAME") != nil
end