Don't use parentheses on 0-arity function definitions
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user