Skip to content

Commit 005caee

Browse files
committed
fix some warnings
1 parent eacacbe commit 005caee

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/sentry.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
defmodule Sentry do
22
use Application
3-
import Supervisor.Spec
43
alias Sentry.{Config, Event}
54
require Logger
65

@@ -95,7 +94,7 @@ defmodule Sentry do
9594

9695
def start(_type, _opts) do
9796
children = [
98-
supervisor(Task.Supervisor, [[name: Sentry.TaskSupervisor]]),
97+
{Task.Supervisor, name: Sentry.TaskSupervisor},
9998
:hackney_pool.child_spec(
10099
Sentry.Client.hackney_pool_name(),
101100
timeout: Config.hackney_timeout(),

test/test_helper.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Code.load_file("test/support/test_plug.ex")
1+
Code.compile_file("test/support/test_plug.ex")
22
Code.require_file("test/support/test_environment_helper.exs")
33
Code.require_file("test/support/test_before_send_event.exs")
44
Code.require_file("test/support/test_filter.exs")

0 commit comments

Comments
 (0)