-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: make order in the sorted set functions more explicit (#235)
change the order argument in the sorted set functions to explicitly take SORT_ASC and SORT_DESC, and treat other values as ascending. This replaces the previous logic where SORT_DESC or lower was descending, and SORT_ASC or higher was ascending. Using built-in constants in a comparison was confusing.
- Loading branch information
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters