Skip to content

Commit

Permalink
Use Elixir 1.5 Supervisor.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewis Chung committed Apr 10, 2019
1 parent 21bbfa2 commit dab3f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ defmodule YourApp.Application do

children = [
# This is the new line
%{ id: YourApp.Scheduler, start: {YourApp.Scheduler, :start_link, []} }
YourApp.Scheduler
]

opts = [strategy: :one_for_one, name: YourApp.Supervisor]
Expand Down

0 comments on commit dab3f2f

Please sign in to comment.