Skip to content

Commit c1c98a0

Browse files
committed
mix format
1 parent 297fc12 commit c1c98a0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

lib/mongo.ex

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,13 +1548,14 @@ defmodule Mongo do
15481548

15491549
{_, params} = Keyword.pop_first(cmd, command)
15501550

1551-
{collection, params} = case command do
1552-
:getMore ->
1553-
Keyword.pop_first(params, :collection)
1551+
{collection, params} =
1552+
case command do
1553+
:getMore ->
1554+
Keyword.pop_first(params, :collection)
15541555

1555-
_other ->
1556-
{Keyword.get(cmd, command), params}
1557-
end
1556+
_other ->
1557+
{Keyword.get(cmd, command), params}
1558+
end
15581559

15591560
collection =
15601561
case is_binary(collection) do

0 commit comments

Comments
 (0)