Skip to content

Commit ef7080c

Browse files
authored
Minor tweaks to satisfy linter (#29)
1 parent 1bcd04a commit ef7080c

3 files changed

Lines changed: 18 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
elixir-version: "1.16.3"
1313
otp-version: "26.2.5.9"
1414

15-
- uses: actions/checkout@v1
15+
- uses: actions/checkout@v5
1616
- run: |
1717
mix local.hex --force
1818
mix local.rebar --force

lib/todo_app.ex

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,22 @@ defmodule TodoApp do
3030

3131
:ets.new(:session, [:named_table, :public, read_concurrency: true])
3232

33-
{:ok, sup} = Supervisor.start_link([
34-
TodoWeb.Telemetry,
35-
TodoApp.Repo,
36-
{DNSCluster, query: Application.get_env(:todo, :dns_cluster_query) || :ignore},
37-
{Phoenix.PubSub, name: TodoApp.PubSub},
38-
# Start a worker by calling: Todo.Worker.start_link(arg)
39-
# {Todo.Worker, arg},
40-
# Start to serve requests, typically the last entry
41-
TodoWeb.Endpoint
42-
], name: __MODULE__, strategy: :one_for_one)
33+
{:ok, sup} =
34+
Supervisor.start_link(
35+
[
36+
TodoWeb.Telemetry,
37+
TodoApp.Repo,
38+
{DNSCluster, query: Application.get_env(:todo, :dns_cluster_query) || :ignore},
39+
{Phoenix.PubSub, name: TodoApp.PubSub},
40+
# Start a worker by calling: Todo.Worker.start_link(arg)
41+
# {Todo.Worker, arg},
42+
# Start to serve requests, typically the last entry
43+
TodoWeb.Endpoint
44+
],
45+
name: __MODULE__,
46+
strategy: :one_for_one
47+
)
48+
4349
TodoApp.Repo.initialize()
4450

4551
{:ok, _} =

mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dbus": {:hex, :dbus, "0.8.0", "7c800681f35d909c199265e55a8ee4aea9ebe4acccce77a0740f89f29cc57648", [:make], [], "hexpm", "a9784f2d9717ffa1f74169144a226c39633ac0d9c7fe8cb3594aeb89c827cca5"},
1515
"debouncer": {:hex, :debouncer, "0.1.8", "ab7f6eef7c9f029929bb2b737de6dc4bf12ac4ddedb49194ba00f4240b226b5a", [:mix], [], "hexpm", "77c4be1d10f984aec0dfbc50d43c16d7512605cabe6d79cadc0c8f4ba95d4906"},
1616
"decimal": {:hex, :decimal, "2.3.0", "3ad6255aa77b4a3c4f818171b12d237500e63525c2fd056699967a3e7ea20f62", [:mix], [], "hexpm", "a4d66355cb29cb47c3cf30e71329e58361cfcb37c34235ef3bf1d7bf3773aeac"},
17-
"desktop": {:git, "https://github.com/elixir-desktop/desktop.git", "4d5768dad0380ae0f3f4a80b0e2628c9872e1e25", []},
17+
"desktop": {:git, "https://github.com/elixir-desktop/desktop.git", "9a782440cd852292ff5a2a09dd6c3fcc3faac94c", []},
1818
"desktop_deployment": {:git, "https://github.com/elixir-desktop/deployment.git", "29aa9b2de6465242b50a7b37d91b2141c505b347", []},
1919
"dns_cluster": {:hex, :dns_cluster, "0.2.0", "aa8eb46e3bd0326bd67b84790c561733b25c5ba2fe3c7e36f28e88f384ebcb33", [:mix], [], "hexpm", "ba6f1893411c69c01b9e8e8f772062535a4cf70f3f35bcc964a324078d8c8240"},
2020
"ecto": {:hex, :ecto, "3.13.3", "6a983f0917f8bdc7a89e96f2bf013f220503a0da5d8623224ba987515b3f0d80", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "1927db768f53a88843ff25b6ba7946599a8ca8a055f69ad8058a1432a399af94"},

0 commit comments

Comments
 (0)