Skip to content

Commit

Permalink
format and credo
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe committed Apr 24, 2024
1 parent 2ba4068 commit 3185384
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
{Credo.Check.Readability.ImplTrue, false},
{Credo.Check.Readability.MultiAlias, []},
{Credo.Check.Readability.SeparateAliasRequire, []},
{Credo.Check.Readability.SinglePipe, []},
{Credo.Check.Readability.SinglePipe, false},
{Credo.Check.Readability.Specs, false},
{Credo.Check.Readability.StrictModuleLayout, false},
{Credo.Check.Readability.WithCustomTaggedTuple, false},
Expand Down
22 changes: 11 additions & 11 deletions lib/pescarte/supabase.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ defmodule Pescarte.Supabase do
end

def start_link(_opts) do
children = [__MODULE__.Auth, __MODULE__.PostgREST]
opts = [strategy: :one_for_one, name: __MODULE__]
Supervisor.start_link(children, opts)
children = [__MODULE__.Auth, __MODULE__.PostgREST]
opts = [strategy: :one_for_one, name: __MODULE__]
Supervisor.start_link(children, opts)
end

def child_spec(opts) do
%{
id: __MODULE__,
start: {__MODULE__, :start_link, [opts]},
type: :worker,
restart: :permanent,
shutdown: 500
}
end
%{
id: __MODULE__,
start: {__MODULE__, :start_link, [opts]},
type: :worker,
restart: :permanent,
shutdown: 500
}
end
end

0 comments on commit 3185384

Please sign in to comment.