Skip to content

Commit fee2a97

Browse files
TalZaccaiprvyk
authored andcommitted
Update ListCommands.cs
Format fix
1 parent b4d7746 commit fee2a97

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

libs/server/Resp/Objects/ListCommands.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,7 @@ private unsafe bool ListBlockingMove()
354354
var dstKey = parseState.GetArgSliceByRef(1);
355355

356356
if (!parseState.TryGetOperationDirection(2, out var srcDir) ||
357-
!parseState.TryGetOperationDirection(3, out var dstDir)
358-
)
357+
!parseState.TryGetOperationDirection(3, out var dstDir))
359358
{
360359
return AbortWithErrorMessage(CmdStrings.RESP_ERR_GENERIC_SYNTAX_ERROR);
361360
}
@@ -772,8 +771,7 @@ private bool ListMove<TGarnetApi>(ref TGarnetApi storageApi)
772771
var dstKey = parseState.GetArgSliceByRef(1);
773772

774773
if (!parseState.TryGetOperationDirection(2, out var sourceDirection) ||
775-
!parseState.TryGetOperationDirection(3, out var destinationDirection)
776-
)
774+
!parseState.TryGetOperationDirection(3, out var destinationDirection))
777775
{
778776
return AbortWithErrorMessage(CmdStrings.RESP_ERR_GENERIC_SYNTAX_ERROR);
779777
}
@@ -1032,4 +1030,4 @@ private unsafe bool ListBlockingPopMultiple()
10321030
return true;
10331031
}
10341032
}
1035-
}
1033+
}

0 commit comments

Comments
 (0)