Skip to content

Commit 625b89f

Browse files
committed
mix format
1 parent 5d088f7 commit 625b89f

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

examples/db_agent/lib/db_agent.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule DBAgent do
55
defstruct [:query]
66
end
77

8-
@spec start_link((() -> state :: any), Keyword.t()) :: GenServer.on_start()
8+
@spec start_link((-> state :: any), Keyword.t()) :: GenServer.on_start()
99
def start_link(fun, opts \\ []) when is_function(fun, 0) do
1010
opts = [init: fun, backoff: nil] ++ opts
1111
DBConnection.start_link(__MODULE__, opts)

examples/db_agent/mix.exs

+8-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ defmodule DbAgent.Mixfile do
22
use Mix.Project
33

44
def project do
5-
[app: :db_agent,
6-
version: "0.0.1",
7-
elixir: "~> 1.4",
8-
build_embedded: Mix.env == :prod,
9-
start_permanent: Mix.env == :prod,
10-
deps: deps()]
5+
[
6+
app: :db_agent,
7+
version: "0.0.1",
8+
elixir: "~> 1.4",
9+
build_embedded: Mix.env() == :prod,
10+
start_permanent: Mix.env() == :prod,
11+
deps: deps()
12+
]
1113
end
1214

1315
def application do

examples/tcp_connection/mix.exs

+8-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ defmodule TcpConnection.Mixfile do
22
use Mix.Project
33

44
def project do
5-
[app: :tcp_connection,
6-
version: "0.0.1",
7-
elixir: "~> 1.4",
8-
build_embedded: Mix.env == :prod,
9-
start_permanent: Mix.env == :prod,
10-
deps: deps()]
5+
[
6+
app: :tcp_connection,
7+
version: "0.0.1",
8+
elixir: "~> 1.4",
9+
build_embedded: Mix.env() == :prod,
10+
start_permanent: Mix.env() == :prod,
11+
deps: deps()
12+
]
1113
end
1214

1315
def application do

0 commit comments

Comments
 (0)