Skip to content

Commit

Permalink
Fix crash test
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmi committed Jun 10, 2024
1 parent 896cfa4 commit 2ece3df
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/composite.ex
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ defmodule Strom.Composite do
end

def stop_components(components) do

Check warning on line 124 in lib/composite.ex

View workflow job for this annotation

GitHub Actions / Build and test

variable "components" is unused (if the variable is not meant to be used, prefix it with an underscore)
components
|> Enum.reverse()
|> Enum.each(fn %{__struct__: module} = component ->
Enum.each(fn %{__struct__: module} = component ->
module.stop(component)
end)
end
Expand Down

0 comments on commit 2ece3df

Please sign in to comment.