Skip to content

Commit

Permalink
remove redundant head on ChannelOwner.returning/2
Browse files Browse the repository at this point in the history
Co-authored-by: Corey Innis <[email protected]>
  • Loading branch information
ry4n1m3 and coreyti committed Sep 26, 2024
1 parent 6ed3ba6 commit b222442
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/playwright/sdk/channel_owner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,6 @@ defmodule Playwright.SDK.ChannelOwner do
end
end

defp returning(owner, task) do
task.()
Channel.find(owner.session, {:guid, owner.guid})
end

defp returning(%{session: session} = subject, task) do
task.()
Channel.find(session, {:guid, subject.guid})
Expand Down

0 comments on commit b222442

Please sign in to comment.