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
|
||||||
end
|
end
|
||||||
|
|
||||||
defp flyctl_installed?() do
|
defp flyctl_installed? do
|
||||||
System.find_executable("flyctl")
|
System.find_executable("flyctl")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ defmodule MusicLibrary.Application do
|
|||||||
:ok
|
:ok
|
||||||
end
|
end
|
||||||
|
|
||||||
defp skip_migrations?() do
|
defp skip_migrations? do
|
||||||
# By default, sqlite migrations are run when using a release
|
# By default, sqlite migrations are run when using a release
|
||||||
System.get_env("RELEASE_NAME") != nil
|
System.get_env("RELEASE_NAME") != nil
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user