Skip to content

Commit 791ffc3

Browse files
committed
Fix dialyzer warning
1 parent 24285d7 commit 791ffc3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/support/telemetry_helpers.ex

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ defmodule TelemetryHelpers do
1111

1212
def attach_all_events(plug_or_websock) do
1313
ref = make_ref()
14-
:telemetry.attach_many(ref, @events, &__MODULE__.handle_event/4, {self(), plug_or_websock})
14+
15+
_ =
16+
:telemetry.attach_many(ref, @events, &__MODULE__.handle_event/4, {self(), plug_or_websock})
17+
1518
fn -> :telemetry.detach(ref) end
1619
end
1720

0 commit comments

Comments
 (0)