File tree Expand file tree Collapse file tree 3 files changed +17
-13
lines changed
Expand file tree Collapse file tree 3 files changed +17
-13
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments