Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Glinka committed Oct 19, 2019
1 parent 9bb15b9 commit 14be1de
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/fluex/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ defmodule Fluex.Supervisor do
alias Fluex.FluentNIF
alias Fluex.Resources

@default_priv "priv/fluex"

@doc """
Starts the translator supervisor.
"""
Expand All @@ -14,15 +12,15 @@ defmodule Fluex.Supervisor do

Supervisor.start_link(
__MODULE__,
{name, translator, opts},
{translator},
sup_opts
)
end

## Callbacks

@doc false
def init({name, translator, opts}) do
def init({translator}) do
locales = translator.__fluex__(:locales)
resources = translator.__fluex__(:resources)

Expand Down

0 comments on commit 14be1de

Please sign in to comment.